Author: jodogne-guest
Date: 2015-12-03 11:02:43 +0000 (Thu, 03 Dec 2015)
New Revision: 20621

Modified:
   trunk/packages/orthanc-webviewer/trunk/debian/postrm
Log:
remove cache after removal

Modified: trunk/packages/orthanc-webviewer/trunk/debian/postrm
===================================================================
--- trunk/packages/orthanc-webviewer/trunk/debian/postrm        2015-12-03 
10:58:01 UTC (rev 20620)
+++ trunk/packages/orthanc-webviewer/trunk/debian/postrm        2015-12-03 
11:02:43 UTC (rev 20621)
@@ -4,6 +4,10 @@
 
 case $1 in
     purge|remove|upgrade)
+       # Remove the content of the cache
+       rm -rf /var/lib/orthanc/db-v5/WebViewerCache/
+       rm -rf /var/lib/orthanc/db-v6/WebViewerCache/
+
        # Restart the Orthanc service
        # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
        if [ -x /etc/init.d/orthanc ]; then


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to