aboutsummaryrefslogtreecommitdiff
path: root/system/qjoypad/doinst.sh
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2018-01-12 17:59:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-13 07:13:02 +0700
commit44021a48e7ec55c31b2de11a1874f5a45ecf490e (patch)
treea22ddeee294812cb6ccfeb7ea00963b88f326f11 /system/qjoypad/doinst.sh
parentd549e56f04dcd17f49f8a8a87cb38b399ac1b5b2 (diff)
system/qjoypad: Added (convert gamepad buttons to keystrokes).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qjoypad/doinst.sh')
-rw-r--r--system/qjoypad/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/qjoypad/doinst.sh b/system/qjoypad/doinst.sh
new file mode 100644
index 0000000000000..f50fb23e55ac4
--- /dev/null
+++ b/system/qjoypad/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/oxygen/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/oxygen >/dev/null 2>&1
+ fi
+fi