[DRE-commits] [diaspora] 01/03: hardcode variables in preinst
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Sep 2 17:06:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master-0.5.3.0
in repository diaspora.
commit 1fe551dabd87623b4e133990c9cafa98cf633461
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Sep 2 21:58:02 2015 +0530
hardcode variables in preinst
---
debian/preinst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/preinst b/debian/preinst
index 16454a1..7ddd66a 100755
--- a/debian/preinst
+++ b/debian/preinst
@@ -1,8 +1,9 @@
#! /bin/sh
set -e
-# Read variables
-. /etc/diaspora/diaspora-common.conf
+# Hardcore variables as diaspora-common.conf won't be available if both
+# installed together
+diaspora_conf=/etc/diaspora.conf
. ${diaspora_conf}
# Remove bin directory if upgrading from diaspora-installer
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git
More information about the Pkg-ruby-extras-commits
mailing list