[DRE-commits] [diaspora-installer] 02/02: Make postrm lintian happy

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Mar 12 14:52:55 UTC 2016


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

balasankarc-guest pushed a commit to branch conffiles
in repository diaspora-installer.

commit aab0312181dd523754913ac0263d9522d99f6788
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sat Mar 12 20:22:34 2016 +0530

    Make postrm lintian happy
---
 debian/diaspora-common.postrm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/diaspora-common.postrm b/debian/diaspora-common.postrm
index 4f479d4..ec525a6 100644
--- a/debian/diaspora-common.postrm
+++ b/debian/diaspora-common.postrm
@@ -12,7 +12,6 @@ set -e
 # conffiles have been removed.
 
 # Ensure the menu system is updated
-: [ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus
 
 case "$1" in
   remove)
@@ -21,9 +20,6 @@ case "$1" in
     :
 
     # Remove diversion
-    : dpkg-divert --package diaspora-common --remove --rename \
-    :             --divert /usr/bin/other.real /usr/bin/other
-
     # ldconfig is NOT needed during removal of a library, only during
     # installation
 
@@ -52,7 +48,7 @@ case "$1" in
     fi    
 
     # Remove symlinks from /etc/rc?.d
-    : update-rc.d diaspora-common remove >/dev/null
+    update-rc.d diaspora remove >/dev/null
 
     ;;
   disappear)
@@ -112,4 +108,5 @@ case "$1" in
      exit 0;;
 esac
 
+#DEBHELPER#
 exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list