[Pkg-ganeti-devel] [ganeti] 17/29: postrm: remove the /etc symlinks during 'remove' only

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Fri Mar 7 10:15:05 UTC 2014


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

apoikos pushed a commit to branch master
in repository ganeti.

commit 9a2ecd7723921bfc614205472a10d0c97cfe4f00
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Wed Mar 5 16:14:37 2014 +0200

    postrm: remove the /etc symlinks during 'remove' only
---
 debian/ganeti.postrm.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/ganeti.postrm.in b/debian/ganeti.postrm.in
index 9237a17..f4d2209 100644
--- a/debian/ganeti.postrm.in
+++ b/debian/ganeti.postrm.in
@@ -20,13 +20,13 @@ set -e
 
 case "$1" in
     purge)
-	rm -f /etc/ganeti/share /etc/ganeti/lib
-
 	#GANETI_USERS#
     ;;
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    remove)
 	rm -f /etc/ganeti/share /etc/ganeti/lib
     ;;
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
 
     *)
         echo "postrm called with unknown argument \`$1'" >&2

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



More information about the Pkg-ganeti-devel mailing list