[DRE-commits] [diaspora-installer] 03/08: remove backup after update
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed May 27 11:01:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch 04x-05x_update
in repository diaspora-installer.
commit 87a039f712f9738dcc961d63980ed73072b09d7d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue May 19 22:59:47 2015 +0530
remove backup after update
---
debian/postinst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/postinst b/debian/postinst
index 4ff3818..93c14d0 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -54,6 +54,9 @@ case "$1" in
echo "Running migrations..."
su diaspora -s /bin/sh -c 'bundle exec rake db:migrate'
su diaspora -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
+ echo "Remove backup..."
+ rm -rf ${diaspora_home}-backup.*
+
echo "Starting diaspora..."
invoke-rc.d diaspora start
--
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