summaryrefslogtreecommitdiff
path: root/system/redis/doinst.sh
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2012-03-30 00:15:24 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-30 00:15:24 -0400
commitbbcc256eb99eba879ccb3bd1c466a456197277d5 (patch)
treed4e836496d5d1af146923c121a24f51b732aaffc /system/redis/doinst.sh
parentbadb8681584763f45a8766eef16dbfc7626ad8ea (diff)
downloadslackbuilds-bbcc256eb99eba879ccb3bd1c466a456197277d5.tar.gz
system/redis: Updated for version 2.4.7 new maintainer.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/redis/doinst.sh')
-rw-r--r--system/redis/doinst.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/redis/doinst.sh b/system/redis/doinst.sh
index 581ef15d40..de6501f387 100644
--- a/system/redis/doinst.sh
+++ b/system/redis/doinst.sh
@@ -4,7 +4,8 @@ config() {
# 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
+ 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...