[pkg-bacula-commits] [bacula] 02/03: deleted obsolete code from bacula-common.preinst

Carsten Leonhardt leo at moszumanska.debian.org
Sat Sep 3 17:40:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

leo pushed a commit to branch migrate-files
in repository bacula.

commit b48eef89ee95196d81cc49f99fa3412f3fa43366
Author: Carsten Leonhardt <leo at debian.org>
Date:   Thu Sep 1 18:10:22 2016 +0200

    deleted obsolete code from bacula-common.preinst
    
    the code in question was relevant for upgrades from sarge to etch
---
 debian/bacula-common.preinst | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/debian/bacula-common.preinst b/debian/bacula-common.preinst
index 4e796ae..a83ddda 100644
--- a/debian/bacula-common.preinst
+++ b/debian/bacula-common.preinst
@@ -13,16 +13,6 @@ case "$1" in
 			echo "Ok."
 		fi
 	;;
-
-	upgrade)
-               # Before 1.38.9-2, logs were in the wrong place.  Fix.
-               if dpkg --compare-versions "$2" lt 1.38.9-2 && 
-                   test -h /var/log/bacula/log &&
-                   test -f /var/lib/bacula/log; then
-                   rm /var/log/bacula/log
-                   mv /var/lib/bacula/log /var/log/bacula/log
-               fi
-	;;
 esac
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list