]> git.donarmstrong.com Git - roundcube.git/commitdiff
Change location of /var/cache/roundcube/temp to /var/lib/roundcube/temp
authorVincent Bernat <bernat@luffy.cx>
Sun, 25 Mar 2007 09:26:21 +0000 (09:26 +0000)
committerVincent Bernat <bernat@luffy.cx>
Sun, 25 Mar 2007 09:26:21 +0000 (09:26 +0000)
debian/cron.daily
debian/default
debian/postrm

index 898f243a855ccc4feaf022a4f12ced5a1f24ac51..4b071ca2684f1c23463c4d7c7da7c6e80f73a496 100644 (file)
@@ -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
index 8f047dacf11a5d42cef0faf343c73305e38d0771..67e646dee43c0ff77abac1ffbddfbb45a7370c2b 100644 (file)
@@ -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
index 86b1f8d990e5139298878eac73fe652328c26959..70292d38918fad9eb16f5fb460d04c16f622e4fd 100644 (file)
@@ -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