[DRE-commits] [diaspora-installer] 09/21: mention database drop command
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon May 11 12:36:48 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 e4723e23dc15f0a25042a98e9149ae83e241d678
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon May 11 14:58:48 2015 +0530
mention database drop command
---
debian/diaspora-common.postinst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/diaspora-common.postinst b/debian/diaspora-common.postinst
index 263a63f..200aa76 100755
--- a/debian/diaspora-common.postinst
+++ b/debian/diaspora-common.postinst
@@ -46,6 +46,8 @@ case "$1" in
else
echo "There is a PostgreSQl database 'diaspora_production', 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."
fi
else
--
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