[Cdd-commits] cdd/common/cdd/templates postinst,1.14,1.15 postrm,1.8,1.9

Andreas Tille debian-custom@lists.debian.org
Tue, 29 Jun 2004 20:02:13 +0000


Update of /cvsroot/cdd/cdd/common/cdd/templates
In directory haydn:/tmp/cvs-serv27548/cdd/templates

Modified Files:
	postinst postrm 
Log Message:
Menu in cdd-install-helper, Fixed translation in de.de, fixes in post{inst,rm}


Index: postrm
===================================================================
RCS file: /cvsroot/cdd/cdd/common/cdd/templates/postrm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- postrm	27 Jun 2004 12:27:39 -0000	1.8
+++ postrm	29 Jun 2004 20:02:11 -0000	1.9
@@ -14,21 +14,21 @@
     if [ -s /etc/cdd/#CDD#/#CDD#.conf ] ; then . /etc/cdd/#CDD#/#CDD#.conf ; fi
 
     case "$1" in
-	abort-install|abort-upgrade|failed-upgrade)
+	abort-install|abort-upgrade|failed-upgrade|upgrade)
 	    ;;
 	remove|purge)
 	    db_get "shared/#CDD#-common/usermenus" || true
 	    case "$RET" in
-		now)
+		"Each package installation")
 		    /usr/sbin/cdd-update-usermenus #CDD#
 		    ;;
-		end)
+		"End of installation")
 		    touch /var/run/#CDD#-common.usermenu
 		    ;;
 	    esac
 	    ;;
 	*)
-	    echo "postinst called with unknown argument \`$1'" >&2
+	    echo "postrm called with unknown argument \`$1'" >&2
 	    exit 1
 	    ;;
     esac

Index: postinst
===================================================================
RCS file: /cvsroot/cdd/cdd/common/cdd/templates/postinst,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- postinst	27 Jun 2004 12:27:39 -0000	1.14
+++ postinst	29 Jun 2004 20:02:11 -0000	1.15
@@ -14,10 +14,10 @@
     configure)
 	db_get "shared/#CDD#-common/usermenus" || true
 	case "$RET" in
-    	    now)
+    	    "Each package installation")
         	/usr/sbin/cdd-update-usermenus #CDD#
                 ;;
-            end)
+            "End of installation")
                 touch /var/run/#CDD#-common.usermenu
                 ;;
         esac