aboutsummaryrefslogtreecommitdiff
path: root/office/pdfarranger/doinst.sh
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2022-04-18 01:12:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:17 +0700
commitb6484732c39b72d23abcc42520d73190ba872cbf (patch)
tree4145ab62528b87baf1bc59b30f846af729b3ce20 /office/pdfarranger/doinst.sh
parenteee4b79675f9e83441fc2f5d6e602c13812e4483 (diff)
office/pdfarranger: moved from python; adapted doinst.sh for icons
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pdfarranger/doinst.sh')
-rw-r--r--office/pdfarranger/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/pdfarranger/doinst.sh b/office/pdfarranger/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/office/pdfarranger/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