From 9fbbd45afce7d33767dff71acd1f3647e87d8940 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sun, 15 Dec 2013 15:13:41 -0500 Subject: fix postinst trigger (#4774) --- debian/bitmask.postinst | 21 +++++++++------------ debian/changelog | 6 ++++++ 2 files changed, 15 insertions(+), 12 deletions(-) (limited to 'debian') diff --git a/debian/bitmask.postinst b/debian/bitmask.postinst index ee416647..a0ab0d78 100644 --- a/debian/bitmask.postinst +++ b/debian/bitmask.postinst @@ -4,26 +4,23 @@ set -e case "$1" in configure) if [ -e /usr/share/icons/hicolor/icon-theme.cache ]; then - rm /usr/share/icons/hicolor/icon-theme.cache + rm /usr/share/icons/hicolor/icon-theme.cache fi if [ -x /usr/bin/gtk-update-icon-cache-3.0 ]; then - gtk-update-icon-cache-3.0 -q -t -f /usr/share/icons/hicolor + gtk-update-icon-cache-3.0 -q -t -f /usr/share/icons/hicolor elif [ -x /usr/bin/gtk-update-icon-cache ]; then - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor fi - ;; - + ;; + triggered) + exit 0 + ;; abort-upgrade|abort-remove|abort-deconfigure) - ;; - + ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 - ;; + ;; esac -if [ "$1" = "triggered" ]; then - exit 0 -fi - #DEBHELPER# diff --git a/debian/changelog b/debian/changelog index 8ed6dc99..e2d348cc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bitmask (0.3.8.3) unstable; urgency=low + + * Fix postinst trigger + + -- Micah Anderson Sun, 15 Dec 2013 15:13:34 -0500 + bitmask (0.3.8.2) unstable; urgency=medium * Update icons to get rendered versions with the right names -- cgit v1.2.3