[Python-apps-commits] r2136 - in packages/wicd/trunk/debian (changelog postinst prerm)

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Fri Jan 2 10:57:56 UTC 2009


    Date: Friday, January 2, 2009 @ 10:57:55
  Author: hanska-guest
Revision: 2136

* debian/{pre,post}rm removed:
    - fix double-{starting,stopping} of wicd, which stopped the daemon 
      from really starting (Closes: #510457)

Modified:
  packages/wicd/trunk/debian/changelog
Deleted:
  packages/wicd/trunk/debian/postinst
  packages/wicd/trunk/debian/prerm

Modified: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog	2009-01-02 10:56:50 UTC (rev 2135)
+++ packages/wicd/trunk/debian/changelog	2009-01-02 10:57:55 UTC (rev 2136)
@@ -5,8 +5,11 @@
       (Closes: #510461)
     - removing /usr/lib/python2.5/*, they're private modules
       (Closes: #510462)
+  * debian/{pre,post}rm removed:
+    - fix double-{starting,stopping} of wicd, which stopped the daemon 
+      from really starting (Closes: #510457)
 
- -- David Paleino <d.paleino at gmail.com>  Fri, 02 Jan 2009 11:55:57 +0100
+ -- David Paleino <d.paleino at gmail.com>  Fri, 02 Jan 2009 11:57:01 +0100
 
 wicd (1.5.7-1) unstable; urgency=low
 

Deleted: packages/wicd/trunk/debian/postinst
===================================================================
--- packages/wicd/trunk/debian/postinst	2009-01-02 10:56:50 UTC (rev 2135)
+++ packages/wicd/trunk/debian/postinst	2009-01-02 10:57:55 UTC (rev 2136)
@@ -1,54 +0,0 @@
-#!/bin/sh
-# postinst script for wicd
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-    	if [ -f /etc/init.d/wicd ]; then
-    		invoke-rc.d wicd stop
-    	fi
-    	
-    	if [ -e /etc/rc0.d/*wicd ]; then
-    		update-rc.d -f wicd remove >/dev/null
-    	fi
-    	
-    	#rm -f /opt/wicd/*.pyc
-    	
-    	# Add Wicd to the startup sequence
-    	# 80 to make sure that dbus is running when Wicd starts
-    	#if which update-rc.d >/dev/null ; then
-    	#	update-rc.d wicd defaults 80 20 >/dev/null
-    	#fi
-    	
-    	# Start the daemon
-    	if [ -f /etc/init.d/wicd ]; then
-    		invoke-rc.d wicd start
-		fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0

Deleted: packages/wicd/trunk/debian/prerm
===================================================================
--- packages/wicd/trunk/debian/prerm	2009-01-02 10:56:50 UTC (rev 2135)
+++ packages/wicd/trunk/debian/prerm	2009-01-02 10:57:55 UTC (rev 2136)
@@ -1,38 +0,0 @@
-#!/bin/sh
-# prerm script for wicd
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-    	if [ -f /etc/init.d/wicd ]; then
-    		invoke-rc.d wicd stop
-    	fi
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-




More information about the Python-apps-commits mailing list