diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-04-10 13:37:40 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-04-15 17:21:01 -0500 |
commit | 416def0e1d96a54d1925ffb6a897629415a4daed (patch) | |
tree | b4df110a6fdb080a5644f7b71249193b1de7c237 /development/scratch/doinst.sh | |
parent | 6ce215668f59bf476d4d0a22eb88f4e357382023 (diff) |
development/scratch: Added (programming educational tool)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/scratch/doinst.sh')
-rw-r--r-- | development/scratch/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/development/scratch/doinst.sh b/development/scratch/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/development/scratch/doinst.sh @@ -0,0 +1,13 @@ +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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |