summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-12-15 15:13:41 -0500
committerMicah Anderson <micah@riseup.net>2013-12-15 15:15:06 -0500
commit9fbbd45afce7d33767dff71acd1f3647e87d8940 (patch)
treea2676dd21df40c5afb572a4d38c90508824e5a34
parent49daeb9502dfd9b74c495f32932cc97fa92f5759 (diff)
fix postinst trigger (#4774)
-rw-r--r--debian/bitmask.postinst21
-rw-r--r--debian/changelog6
2 files changed, 15 insertions, 12 deletions
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 <micah@debian.org> 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