[DRE-commits] [diaspora-installer] 06/06: update scripts for previous commit
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 1 05:37:30 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 449a86fa55225391cb0f2d8c94744c4931cc96ca
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Sep 1 10:48:17 2015 +0530
update scripts for previous commit
---
debian/postinst | 1 +
debian/preinst | 7 -------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 1bc36cf..aeafbe1 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -42,6 +42,7 @@ install_gems() {
# Needs latest bundler
# Needs eye for init script
gem install --conservative bundler
+ ln -sf /usr/local/bin/bundle ${diaspora_home}/bin/bundle
}
case "$1" in
diff --git a/debian/preinst b/debian/preinst
index 80a7fef..0c255bb 100755
--- a/debian/preinst
+++ b/debian/preinst
@@ -11,13 +11,6 @@ then
rm -rf ${diaspora_home}/bin
fi
-# Remove bin/bundle symlink
-if test -L ${diaspora_home}/bin/bundle
-then
- rm -rf ${diaspora_home}/bin/bundle
-fi
-
-
# Check if PostgreSQL database diaspora_production exist
if su diaspora -s /bin/sh -c "psql diaspora_production -c ''"
then
--
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