[DRE-commits] [diaspora-installer] 10/23: create .bundle in ~
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Jan 25 21:57:48 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 93db6f19841b32812ecc4559590eca5e208d8b66
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Jan 24 23:59:58 2017 +0530
create .bundle in ~
---
debian/diaspora-common.links | 1 +
debian/diaspora-common.postinst | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/diaspora-common.links b/debian/diaspora-common.links
index 52aeb5b..accb5f3 100644
--- a/debian/diaspora-common.links
+++ b/debian/diaspora-common.links
@@ -1,3 +1,4 @@
run/diaspora usr/share/diaspora/tmp
var/lib/diaspora/uploads usr/share/diaspora/public/uploads
+var/lib/diaspora/.bundle usr/share/diaspora/.bundle
var/log/diaspora usr/share/diaspora/log
diff --git a/debian/diaspora-common.postinst b/debian/diaspora-common.postinst
index b6c7286..5318026 100755
--- a/debian/diaspora-common.postinst
+++ b/debian/diaspora-common.postinst
@@ -42,9 +42,8 @@ case "$1" in
mkdir -p /var/cache/diaspora
chown ${diaspora_user}: /var/cache/diaspora
- # Create uploads directory
- mkdir -p /var/lib/diaspora/uploads
- chown ${diaspora_user}: /var/lib/diaspora/uploads
+ # Create writable directories
+ su ${diaspora_user} -s /bin/sh -c 'mkdir -p ~/uploads ~/.bundle'
# Create private copy of diaspora.conf from example
mkdir -p /var/lib/diaspora-common
--
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