- keine Abhängigkeit von drblinks
authorheiko
Fri, 13 Apr 2007 13:01:12 +0000
changeset 14 c8c642080be0
parent 13 7b8d7421e660
child 15 275ed38587f9
- keine Abhängigkeit von drblinks
debian/changelog
debian/control
ha-sync
--- a/debian/changelog	Mon Dec 11 11:27:11 2006 +0000
+++ b/debian/changelog	Fri Apr 13 13:01:12 2007 +0000
@@ -1,8 +1,11 @@
+ha-sync (0.9-1) testing; urgency=low
+
+  * new upstream
+
 ha-sync (0.8-1) testing; urgency=low
 
   * new upstream 
 
-
  -- Heiko Schlittermann <hs@schlittermann.de>  Mon, 12 Dez 2006 12:46:31 +0100
 
 ha-sync (0.7-1) testing; urgency=low
--- a/debian/control	Mon Dec 11 11:27:11 2006 +0000
+++ b/debian/control	Fri Apr 13 13:01:12 2007 +0000
@@ -7,6 +7,7 @@
 
 Package: ha-sync
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, ssh, rsync, stow, drbdlinks (= 1.07-1.ius), acl
+Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, ssh, rsync, stow, acl
+Recommends: drbdlinks (= 1.07-1.ius)
 Description: sync script for ha cluster
  script helping to keep clusters in sync
--- a/ha-sync	Mon Dec 11 11:27:11 2006 +0000
+++ b/ha-sync	Fri Apr 13 13:01:12 2007 +0000
@@ -50,7 +50,10 @@
 extra=`tempfile`
 trap "rm -f $extra" EXIT
 echo $extra >$extra	# and exclude it!
-drbdlinks list | sed 's/[[:space:]].*//' >>$extra
+
+command -v drbdlinks >/dev/null && {
+    drbdlinks list | sed 's/[[:space:]].*//' >>$extra
+}
 
 cd / || exit 1
 for FS in ${FILESYSTEMS%/}/; do