aboutsummaryrefslogtreecommitdiff
path: root/system/DisplayCAL/doinst.sh
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2023-06-17 16:43:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 16:44:00 +0700
commit82b30c94cdbbfec70601b0712710dac66637600a (patch)
treeb7d4ff57f453873a8bb6b35d6e9de1f8611cf646 /system/DisplayCAL/doinst.sh
parentd50f00300cb46fae8a4f2fbef38960b72c0b0d79 (diff)
system/DisplayCAL: Added (display calibration and profiling).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/DisplayCAL/doinst.sh')
-rw-r--r--system/DisplayCAL/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/DisplayCAL/doinst.sh b/system/DisplayCAL/doinst.sh
new file mode 100644
index 0000000000000..0fb9c8b6867f0
--- /dev/null
+++ b/system/DisplayCAL/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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
+