[DRE-commits] [diaspora-installer] 03/23: remove tmp and log directories
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Jan 25 21:57:47 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 feda5db7d09681d62e819221da385c503debcc9c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Jan 24 21:07:31 2017 +0530
remove tmp and log directories
---
diaspora-download.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/diaspora-download.sh b/diaspora-download.sh
index 930fec0..4b42ca8 100755
--- a/diaspora-download.sh
+++ b/diaspora-download.sh
@@ -32,6 +32,10 @@ tar -C ${diaspora_cache} -zxvf ${diaspora_cache}/diaspora-${diaspora_version}.ta
echo "Copying files to ${diaspora_home}..."
echo "diaspora archive to copy: ${diaspora_archive}"
+
+rm -rf ${diaspora_cache}/${diaspora_archive}/tmp
+rm -rf ${diaspora_cache}/${diaspora_archive}/log
+
cp -r ${diaspora_cache}/${diaspora_archive}/* ${diaspora_home}
chown -R ${diaspora_user}: ${diaspora_home}
--
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