[med-svn] r20621 - trunk/packages/orthanc-webviewer/trunk/debian
Sebastien Jodogne
jodogne-guest at moszumanska.debian.org
Thu Dec 3 11:02:43 UTC 2015
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
More information about the debian-med-commit
mailing list