summaryrefslogtreecommitdiff
path: root/network/gui-ufw/doinst.sh
diff options
context:
space:
mode:
authorSkaendo <skaendo at excite dot com>2018-03-07 10:59:24 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:02 +0700
commit9e5d860d3e6d4dcdb411bb9629324542df5a30d0 (patch)
tree53c5df6fd98c7606cd4cdd9ce167c6fcd3d18b1c /network/gui-ufw/doinst.sh
parentdb2e7e2c4e130d12987a4290a4ad733e1d6085ee (diff)
downloadslackbuilds-9e5d860d3e6d4dcdb411bb9629324542df5a30d0.tar.gz
network/gui-ufw: Updated for version 18.04.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/gui-ufw/doinst.sh')
-rw-r--r--network/gui-ufw/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/gui-ufw/doinst.sh b/network/gui-ufw/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/gui-ufw/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi