diff options
author | Roberto Neri <rneri@libero.it> | 2010-10-17 21:48:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-10-17 20:17:23 -0500 |
commit | 427e320478cca5dd5ccc0cd1946acb8cc13802a8 (patch) | |
tree | f3472b039d151d08a73040dd4d4dce7e14981d58 /misc/rsibreak/doinst.sh | |
parent | 36b13e8cdca126de226658052253c53596447386 (diff) | |
download | slackbuilds-427e320478cca5dd5ccc0cd1946acb8cc13802a8.tar.gz |
misc/rsibreak: Added. (break reminder)
RSIBreak can be used to remind you to take a break now and then
to prevent Repetitive Strain Injury.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc/rsibreak/doinst.sh')
-rw-r--r-- | misc/rsibreak/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/rsibreak/doinst.sh b/misc/rsibreak/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/misc/rsibreak/doinst.sh @@ -0,0 +1,10 @@ +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 + |