[SCM] gerbera/master: Don't remove /var/lib/gerbera on remove (only on purge)

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Sat Sep 23 17:48:16 UTC 2017


The following commit has been merged in the master branch:
commit fdec2fc24046d7b05b967f25f0e35b5b680b26ce
Author: James Cowgill <jcowgill at debian.org>
Date:   Sat Sep 16 00:00:36 2017 +0100

    Don't remove /var/lib/gerbera on remove (only on purge)
    
    The /var/lib/gerbera directory contains the main database (by default)
    which contains the list of exported media. Since this counts as
    configuration, it should be kept around until purging.

diff --git a/debian/gerbera.postrm b/debian/gerbera.postrm
index 48b0b31..9ef9ae5 100644
--- a/debian/gerbera.postrm
+++ b/debian/gerbera.postrm
@@ -3,7 +3,6 @@ set -e
 
 if [ "$1" = "remove" ] ; then
     invoke-rc.d gerbera stop || true
-    rm -rf /var/lib/gerbera
 fi
 
 if [ "$1" = "purge" ] ; then

-- 
gerbera packaging



More information about the pkg-multimedia-commits mailing list