]> code.citadel.org Git - citadel.git/blobdiff - citadel/database_cleanup.sh
arrgh
[citadel.git] / citadel / database_cleanup.sh
index c355274972971cfa914a6d89149bd27c6f8889a5..2c8f5804c16f23c8718f7c1f019e2ccfda06f4a0 100755 (executable)
@@ -107,10 +107,8 @@ WARNING #3:
   tool only if that one fails to fix your problem.
 
 WARNING #4:
-  You must have an amount of free space on your disk that is at least twice
-  the size of your database, see the following output:
-  (for substantially better performance you should specify a location that is 
-   on another disk than $DATA_DIR)
+  You must have an amount of free space in /tmp that is at least twice
+  the size of your database. see the following output:
 
 `df -h`
 
@@ -140,11 +138,11 @@ do
                echo error $?
                die
        }
-       rm -f $DATA_DIR/$filename
+       rm -vf $DATA_DIR/$filename
 done
 
 echo Removing old databases
-rm -f ./data/*
+rm -vf $DATA_DIR/*
 
 for x in 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d
 do