changeset 312:85bf9f705e70 noffle

[svn] minor code cleanup
author godisch
date Wed, 19 Feb 2003 19:06:45 +0000
parents 7c6035f8656f
children 6e92a005ba27
files debian/preinst debian/prerm
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/debian/preinst	Wed Feb 19 19:04:45 2003 +0000
+++ b/debian/preinst	Wed Feb 19 19:06:45 2003 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: preinst 434 2003-02-14 13:54:32Z godisch $
+# $Id: preinst 446 2003-02-19 19:06:45Z godisch $
 
 set -e
 
@@ -9,7 +9,7 @@
 	# make sure the symlink can be installed
 	if [ -d /var/spool/noffle/lock ]; then
 		if [ -d /var/lock/noffle ]; then
-			rm -rf /var/spool/noffle/lock || :
+			rm -rf /var/spool/noffle/lock
 		else
 			mv /var/spool/noffle/lock /var/lock/noffle || :
 		fi
--- a/debian/prerm	Wed Feb 19 19:04:45 2003 +0000
+++ b/debian/prerm	Wed Feb 19 19:06:45 2003 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: prerm 434 2003-02-14 13:54:32Z godisch $
+# $Id: prerm 446 2003-02-19 19:06:45Z godisch $
 
 set -e
 . /usr/share/debconf/confmodule
@@ -12,7 +12,7 @@
 case "$1" in
 remove|upgrade|deconfigure)
 	echo "Disabling inet.d entry for noffle..."
-	update-inetd --disable $port || :
+	update-inetd --disable $port
 	;;
 failed-upgrade)
 	;;