[DRE-commits] [diaspora-installer] 09/13: touch a flag file for migrations

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue May 19 13:29:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch 04x-05x_update
in repository diaspora-installer.

commit 3cb9b1f9187f612b321a3fb5d63e38019f9f0ee3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue May 19 18:54:50 2015 +0530

    touch a flag file for migrations
---
 debian/diaspora-common.preinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/diaspora-common.preinst b/debian/diaspora-common.preinst
index f6d5504..4c10531 100755
--- a/debian/diaspora-common.preinst
+++ b/debian/diaspora-common.preinst
@@ -17,8 +17,8 @@ case "$1" in
             installed_diaspora_major_version=`echo ${installed_diaspora_version} |cut -d. -f1,2`
             if test $(echo "${installed_diaspora_major_version} < 0.5" |bc) -eq 1
             then
-                echo "Updating from 0.4.x is not supported yet."
-	        exit 1
+                echo "Updating from 0.4.x to 0.5.x needs long running migrations..."
+	        touch /tmp/flag_diaspora_db_migrations
             fi
         fi
         ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list