summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-06 15:35:34 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit8b1655bd9718450afc1094255e56a43471349c10 (patch)
tree1eb5f76404b297e56e87426a645c85928e61a32b /audio/pulseaudio/doinst.sh
parentfefbc567a7015b6a27a54fffd559954cfd2a3f43 (diff)
downloadslackbuilds-8b1655bd9718450afc1094255e56a43471349c10.tar.gz
audio/pulseaudio: Removed (Included in Slackware 14.2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/pulseaudio/doinst.sh')
-rw-r--r--audio/pulseaudio/doinst.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/audio/pulseaudio/doinst.sh b/audio/pulseaudio/doinst.sh
deleted file mode 100644
index b41e0cf7e8..0000000000
--- a/audio/pulseaudio/doinst.sh
+++ /dev/null
@@ -1,27 +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...
-}
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-config etc/pulse/client.conf.new
-config etc/pulse/daemon.conf.new
-config etc/pulse/default.pa.new
-config etc/pulse/system.pa.new
-preserve_perms etc/rc.d/rc.pulseaudio.new