summaryrefslogtreecommitdiff
path: root/desktop/cheese/doinst.sh
diff options
context:
space:
mode:
authorBob Funk <bobfunk11@gmail.com>2022-06-09 22:39:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-11 08:59:03 +0700
commit90b227b7e6f5d6783ecd2840daa44f98c2324aa9 (patch)
tree2e698d0637955be3658e32e7f84ff6c845e08d72 /desktop/cheese/doinst.sh
parentc1baadd2443cac4c1e4e0a56af8346c51f7465a8 (diff)
downloadslackbuilds-90b227b7e6f5d6783ecd2840daa44f98c2324aa9.tar.gz
desktop/cheese: Added (GNOME Webcam Application)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/cheese/doinst.sh')
-rw-r--r--desktop/cheese/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/cheese/doinst.sh b/desktop/cheese/doinst.sh
new file mode 100644
index 0000000000..401d987795
--- /dev/null
+++ b/desktop/cheese/doinst.sh
@@ -0,0 +1,15 @@
+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
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi