aboutsummaryrefslogtreecommitdiff
path: root/graphics/inkscape-gtk2/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2023-04-28 03:30:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:41 +0700
commit01aa77a1dcffcd30067a7a436ea8b9444f338a42 (patch)
treec0aaef43c22f4ea611474d08bc589b500669823d /graphics/inkscape-gtk2/doinst.sh
parenteea8e1e3dfc04bf103dc02135a9349a2cc5c36eb (diff)
graphics/inkscape-gtk2: Added (Open Source vector graphics editor)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape-gtk2/doinst.sh')
-rw-r--r--graphics/inkscape-gtk2/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/inkscape-gtk2/doinst.sh b/graphics/inkscape-gtk2/doinst.sh
new file mode 100644
index 000000000000..f452554ffaeb
--- /dev/null
+++ b/graphics/inkscape-gtk2/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database 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
+