summaryrefslogtreecommitdiff
path: root/multimedia/smplayer/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-07-18 00:39:48 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-07-18 00:39:48 -0500
commit1707c4542794e55792b115a22da79ff86965d36d (patch)
tree6e6b37d83b195e8ccb8b43168d2917a08b2f578b /multimedia/smplayer/doinst.sh
parent3dbde6e275425213b30a2b7ae1bcfa7c3950a49e (diff)
downloadslackbuilds-1707c4542794e55792b115a22da79ff86965d36d.tar.gz
multimedia/smplayer: Removed (replaced by umplayer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/smplayer/doinst.sh')
-rw-r--r--multimedia/smplayer/doinst.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/multimedia/smplayer/doinst.sh b/multimedia/smplayer/doinst.sh
deleted file mode 100644
index 50340ea2e4..0000000000
--- a/multimedia/smplayer/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/smplayer/input.conf.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
-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