[DRE-commits] [diaspora-installer] 01/01: make backup for all upgrades to remove conflicts

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Aug 27 11:56:53 UTC 2015


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

praveen pushed a commit to branch master
in repository diaspora-installer.

commit 9a52d88b0c85706be74759280fdbb2e5de82d0b5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Aug 27 17:03:33 2015 +0530

    make backup for all upgrades to remove conflicts
---
 debian/preinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/preinst b/debian/preinst
index f78ffd0..9a9c7ea 100755
--- a/debian/preinst
+++ b/debian/preinst
@@ -54,9 +54,9 @@ case "$1" in
                 sleep 5m
                 echo "Stop sidekiq..."
                 su diaspora -s /bin/sh -c 'pkill -u diaspora -f sidekiq' || true
-                echo "Making a backup of ${diaspora_home}..."
-                backup || true
             fi
+            echo "Making a backup of ${diaspora_home}..."
+            backup || true
             
         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