[DRE-commits] [diaspora-installer] 03/15: remove leftover files
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 27 13:55:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit dcf06681e990336201474e8a3358bf44de844524
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Sep 27 10:36:32 2016 +0530
remove leftover files
---
debian/changelog | 3 ++-
debian/diaspora-common.postrm | 7 +++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7b385f8..18d6b25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
diaspora-installer (0.6.0.0+debian3) UNRELEASED; urgency=medium
* Fix SERVERNAME variable creation
- * Remove database.yml on purge
+ * Remove database.yml on purge
+ * Remove leftover files on uninstallation/purge
-- Pirate Praveen <praveen at debian.org> Tue, 27 Sep 2016 09:15:31 +0530
diff --git a/debian/diaspora-common.postrm b/debian/diaspora-common.postrm
index bf77be4..87ef29d 100644
--- a/debian/diaspora-common.postrm
+++ b/debian/diaspora-common.postrm
@@ -18,6 +18,12 @@ case "$1" in
# This package is being removed, but its configuration has not yet
# been purged.
:
+
+ rm -rf /usr/share/diaspora/tmp
+ rm -rf /usr/share/diaspora/public
+ rm -rf usr/share/diaspora/app/assets/images/branding
+ rm -rf /usr/share/diaspora/.bundle
+ rm -rf /usr/share/diaspora/Gemfile.lock
# Remove diversion
# ldconfig is NOT needed during removal of a library, only during
@@ -40,6 +46,7 @@ case "$1" in
# remove the configuration file itself
rm -f /etc/diaspora.conf
rm -f /etc/diaspora/database.yml
+ rm -rf /etc/diaspora/initializers
# and finally clear it out from the ucf database
if which ucf >/dev/null; 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