aboutsummaryrefslogtreecommitdiff
path: root/development/couchdb/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-06 17:49:24 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-07 08:45:29 +0700
commite90b031ee6a7c71dea86babdda6f2f5977b4450e (patch)
treef3d3b0ab46a493de6fdeaf30a609160c05fd3649 /development/couchdb/doinst.sh
parentefdbc4fcbb4453b2a6014cbc56e26382732aa69e (diff)
development/couchdb: Removed (ftb, no maintainer).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/couchdb/doinst.sh')
-rw-r--r--development/couchdb/doinst.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/development/couchdb/doinst.sh b/development/couchdb/doinst.sh
deleted file mode 100644
index 5e284380104a..000000000000
--- a/development/couchdb/doinst.sh
+++ /dev/null
@@ -1,29 +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
-}
-
-preserve_perms etc/rc.d/rc.couchdb.new
-config etc/couchdb/default.ini.new
-config etc/couchdb/local.ini.new
-config etc/logrotate.d/couchdb.new
-