[DRE-commits] [diaspora-installer] 01/02: create source.tar.gz only if it is not there already
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Mar 15 11:44:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit ddd1c3fd2cbe809d338b24ecb51dc761bc401697
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Mar 15 17:13:02 2017 +0530
create source.tar.gz only if it is not there already
---
rake-tasks.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rake-tasks.sh b/rake-tasks.sh
index c3da750..7b0e511 100755
--- a/rake-tasks.sh
+++ b/rake-tasks.sh
@@ -2,7 +2,9 @@
# Read configuration values
. /etc/diaspora/diaspora-common.conf
-su diaspora -s /bin/sh -c 'touch public/source.tar.gz'
+# Create an empty public/source.tar.gz for diaspora package
+# script/server checks for its existence
+su diaspora -s /bin/sh -c 'test -f public/source.tar.gz || touch public/source.tar.gz'
if grep https ${diaspora_conf}
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