[DRE-commits] [diaspora-installer] 01/01: diaspora-common already checks if dbexist
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed May 27 13:01:52 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 90e235364dd184175f6a63f793999f4c7f7c5ef3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed May 27 18:21:25 2015 +0530
diaspora-common already checks if dbexist
---
debian/preinst | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/debian/preinst b/debian/preinst
index 47da95c..c92ffd3 100755
--- a/debian/preinst
+++ b/debian/preinst
@@ -55,21 +55,6 @@ case "$1" in
fi
;;
- install)
- if ! test -z $dbexist
- then
- # new install should not see existing database
- echo ""
- echo "========================================================================="
- echo "Aborting installation..."
- echo "You may drop the database and try reinstalling"
- echo "Command to drop the database: su postgres -c 'dropdb diaspora_production'"
- echo "WARNING: This will remove all the data in diaspora_production database."
- echo "========================================================================="
- echo ""
- exit 1
- fi
- ;;
abort-upgrade|install)
;;
*)
--
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