[arch-commits] Commit in rethinkdb/trunk (rethinkdb.install)

Anatol Pomozov anatolik at nymeria.archlinux.org
Thu Feb 27 06:09:42 UTC 2014


    Date: Thursday, February 27, 2014 @ 07:09:42
  Author: anatolik
Revision: 106298

Remove obsolete installation code

Modified:
  rethinkdb/trunk/rethinkdb.install

-------------------+
 rethinkdb.install |   12 ------------
 1 file changed, 12 deletions(-)

Modified: rethinkdb.install
===================================================================
--- rethinkdb.install	2014-02-27 05:47:22 UTC (rev 106297)
+++ rethinkdb.install	2014-02-27 06:09:42 UTC (rev 106298)
@@ -19,16 +19,6 @@
   IFS='.' read -a new_version <<< "$1"
   IFS='.' read -a old_version <<< "$2"
 
-  # previously data diecotry was /var/lib/rethinkdb/
-  # now we moved to multi-instance location: /var/lib/rethinkdb/default
-  # convert from previous location, remove this check Q3'13
-  if [ -e /var/lib/rethinkdb/metadata -a ! -d /var/lib/rethinkdb/default ]; then
-    echo "You store rethinkdb data in /var/lib/rethinkdb. Moving this data to per-instance location /var/lib/rethinkdb/default."
-    mkdir /var/lib/rethinkdb/default
-    mv /var/lib/rethinkdb/* /var/lib/rethinkdb/default
-    chown -R rethinkdb:rethinkdb /var/lib/rethinkdb
-  fi
-
   if [ "${old_version[0]}" != "${new_version[0]}" -o "${old_version[1]}" != "${new_version[1]}" ]; then
     echo "This release changed data storage format. Please upgrade your data using following information https://github.com/rethinkdb/rethinkdb/tree/next/scripts/migration"
   fi
@@ -38,8 +28,6 @@
 }
 
 post_remove() {
-  #/usr/bin/systemctl stop rethinkdb at default.service
-
   getent passwd rethinkdb >/dev/null && userdel rethinkdb
   getent group rethinkdb >/dev/null && groupdel rethinkdb
 




More information about the arch-commits mailing list