[DRE-commits] [diaspora-installer] 16/55: create directory before wget

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 8 12:41:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository diaspora-installer.

commit c4b23e2017cd6bd15d9a00fd43dfb80f040c5347
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Dec 2 18:31:09 2014 +0530

    create directory before wget
---
 debian/postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/postinst b/debian/postinst
index 64e6eed..a1e0628 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -43,6 +43,7 @@ case "$1" in
 	chown -R diaspora: /usr/share/diaspora
 	cd /usr/share/diaspora
 	echo "Download diaspora..."
+	mkdir -p /var/cache/diaspora-installer
 	wget -O /var/cache/diaspora-installer/diaspora-0.4.1.2.tar.gz https://github.com/diaspora/diaspora/archive/v0.4.1.2.tar.gz
 	exit 1
 	echo "Installing gems with rubygems ..."

-- 
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