aboutsummaryrefslogtreecommitdiff
path: root/development/tig/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 15:37:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-05 08:22:44 +0700
commitb1447d0f445c05c6365f74017b218da2636a833a (patch)
tree054803954a75c21c1b8740b3c77c111a393b33c0 /development/tig/doinst.sh
parent84f83b59b2c5b8b3a4bc87ccf9435247e36be859 (diff)
development/tig: Updated for version 2.0.1; New maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/tig/doinst.sh')
-rw-r--r--development/tig/doinst.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/development/tig/doinst.sh b/development/tig/doinst.sh
index 3425313d40b3b..16375e1c87a9a 100644
--- a/development/tig/doinst.sh
+++ b/development/tig/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/tigrc.new
-