[SCM] mpd-sima/master: Remove database when purging
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Wed Mar 28 14:47:20 UTC 2012
The following commit has been merged in the master branch:
commit fc073d84cedf596046bba18c4ec4bf8598d0a683
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date: Wed Mar 28 16:42:48 2012 +0200
Remove database when purging
diff --git a/debian/mpd-sima.NEWS b/debian/mpd-sima.NEWS
new file mode 100644
index 0000000..7c7f331
--- /dev/null
+++ b/debian/mpd-sima.NEWS
@@ -0,0 +1,6 @@
+mpd-sima (0.9.2-1) unstable; urgency=low
+
+ On purge the database will be removed, please backup
+ /var/lib/mpd-sima/sima.db if you want to keep it.
+
+ -- Geoffroy Youri Berret <efrim at azylum.org> Mon, 26 Mar 2012 15:18:21 +0200
diff --git a/debian/mpd-sima.postrm b/debian/mpd-sima.postrm
index 84b3361..da654e9 100755
--- a/debian/mpd-sima.postrm
+++ b/debian/mpd-sima.postrm
@@ -28,6 +28,8 @@ do_mpd_sima_purge () {
# remove the configuration file itself
rm -f /etc/mpd-sima.cfg
rm -f /etc/default/mpd-sima
+ # remove the database
+ rm -rf /var/lib/mpd-sima
}
# summary of how this script can be called:
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list