From b25e0794231b73cf97de83019e70c68073fbe34e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 25 Mar 2007 09:26:21 +0000 Subject: [PATCH] Change location of /var/cache/roundcube/temp to /var/lib/roundcube/temp --- debian/cron.daily | 2 +- debian/default | 2 +- debian/postrm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/cron.daily b/debian/cron.daily index 898f243..4b071ca 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -6,4 +6,4 @@ if [ -r /etc/default/roundcube ]; then . /etc/default/roundcube fi -find /var/cache/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm +find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm diff --git a/debian/default b/debian/default index 8f047da..67e646d 100644 --- a/debian/default +++ b/debian/default @@ -1,3 +1,3 @@ # Uncomment the following line to alter the default delay to clean -# temporary directory /var/cache/roundcube/temp +# temporary directory /var/lib/roundcube/temp # MAX_TMPFILE_LIFETIME=5 diff --git a/debian/postrm b/debian/postrm index 86b1f8d..70292d3 100644 --- a/debian/postrm +++ b/debian/postrm @@ -61,7 +61,7 @@ case "$1" in fi rm -f /etc/roundcube/main.inc.php rm -rf /var/log/roundcube - rm -rf /var/cache/roundcube/temp + rm -rf /var/lib/roundcube/temp ;; *) echo "postrm called with unknown argument \`$1'" >&2 -- 2.39.2