summaryrefslogtreecommitdiff
path: root/multimedia/ripit/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-26 09:59:00 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-01 06:57:10 +0700
commit63fe4b60e92204e924379cdcc4d01a2d5acaa1a0 (patch)
tree4086eaee9f69e2f2a7d9bd381746b6693fd9f6a9 /multimedia/ripit/doinst.sh
parent22be892ecd0d5a60d01147481ad2c000f824eff8 (diff)
downloadslackbuilds-63fe4b60e92204e924379cdcc4d01a2d5acaa1a0.tar.gz
multimedia/ripit: New maintainer, fix REQUIRES.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia/ripit/doinst.sh')
-rw-r--r--multimedia/ripit/doinst.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/multimedia/ripit/doinst.sh b/multimedia/ripit/doinst.sh
index 63523ebd11..dbad5c294e 100644
--- a/multimedia/ripit/doinst.sh
+++ b/multimedia/ripit/doinst.sh
@@ -1,15 +1,11 @@
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/ripit/config.new
-