[mate-dock-applet] 08/18: debian/postinst: Tab'ify postinst script. Make sure, #DEBHELPER# macro always gets executed.

Mike Gabriel sunweaver at debian.org
Mon Feb 15 04:44:11 UTC 2016


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

sunweaver pushed a commit to branch master
in repository mate-dock-applet.

commit 5d70dfb996582fe0441c35a8555f2739e2d7cb9f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Feb 14 15:40:59 2016 +0100

    debian/postinst: Tab'ify postinst script. Make sure, #DEBHELPER# macro always gets executed.
---
 debian/postinst | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index b2d6761..d902910 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -4,20 +4,17 @@ set -e
 
 case "$1" in
 
-  configure)
-    glib-compile-schemas /usr/share/glib-2.0/schemas
+	configure)
+		glib-compile-schemas /usr/share/glib-2.0/schemas
+	;;
 
-exit 0
-  ;;
-
-  abort-upgrade|abort-remove|abort-deconfigure)
-    exit 0
-  ;;
+	abort-upgrade|abort-remove|abort-deconfigure)
+	;;
 
-  *)
-    echo "postinst called with unknown argument \`$1'" >&2
-    exit 1
-  ;;
+	*)
+		echo "postinst called with unknown argument \`$1'" >&2
+		exit 1
+	;;
 
 esac
 

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



More information about the pkg-mate-commits mailing list