aboutsummaryrefslogtreecommitdiff
path: root/accessibility/magnus/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-01-10 23:17:28 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-17 09:03:28 +0700
commit725c8bbf4a77331bd0cfb2099ebd4ec7898be40b (patch)
tree0e8084d7f5213806b083251c67e61308c17aa7fe /accessibility/magnus/doinst.sh
parentb3365fea47ca902d89a85ec901ae6f2d04b51f89 (diff)
accessibility/magnus: Added (screen magnifier for X)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility/magnus/doinst.sh')
-rw-r--r--accessibility/magnus/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/accessibility/magnus/doinst.sh b/accessibility/magnus/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/accessibility/magnus/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi