summaryrefslogtreecommitdiffstats
path: root/abs/extra/xscreensaver/xscreensaver.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 03:46:13 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 03:46:13 (GMT)
commit9489701f54d6628e484af822b961c34d7b511e57 (patch)
tree85cc4dbb7d11024b011c57ec11ee7f3707e7d0fd /abs/extra/xscreensaver/xscreensaver.install
parentede1a8d31ec57aa9d4850444b4a14ac14734c9b4 (diff)
downloadlinhes_pkgbuild-9489701f54d6628e484af822b961c34d7b511e57.zip
linhes_pkgbuild-9489701f54d6628e484af822b961c34d7b511e57.tar.gz
linhes_pkgbuild-9489701f54d6628e484af822b961c34d7b511e57.tar.bz2
file cleanup
Diffstat (limited to 'abs/extra/xscreensaver/xscreensaver.install')
-rw-r--r--abs/extra/xscreensaver/xscreensaver.install30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/extra/xscreensaver/xscreensaver.install b/abs/extra/xscreensaver/xscreensaver.install
deleted file mode 100644
index a64ab36..0000000
--- a/abs/extra/xscreensaver/xscreensaver.install
+++ /dev/null
@@ -1,30 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if grep xscreensaver-command /home/mythtv/.mplayer/config
- then
- echo "Nothing to do here..."
- else
- echo "heartbeat-cmd=\"xscreensaver-command -deactivate &\"" >> /home/mythtv/.mplayer/config
-fi
-}
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if grep xscreensaver-command /home/mythtv/.mplayer/config
- then
- echo "Nothing to do here..."
- else
- echo "heartbeat-cmd=\"xscreensaver-command -deactivate &\"" >> /home/mythtv/.mplayer/config
-fi
-}
-
-# arg 1: the old package version
-post_remove() {
- grep -v xscreensaver /home/mythtv/.mplayer/config > /tmp/mp-config
- mv /tmp/mp-config /home/mythtv/.mplayer/config
- chown mythtv.mythtv /home/mythtv/.mplayer/config
-}
-
-op=$1
-shift
-$op $*