New commits:
commit 239162fe6bd1bdfa8cc2279abed02f642af62e11
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
cast: in cleanup,remove the backup dir if it is empty
diff --git a/ChangeLog b/ChangeLog
index e0b76df..c22b040 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* common: simplified run_security
* libsorcery: modified verify_sources and verify_source, so it prints
the correct error and simplified verify_source
+ * cast: in cleanup,remove the backup dir if it is empty
2008-08-30 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* cast: don't compute SPELLS twice in main
diff --git a/usr/sbin/cast b/usr/sbin/cast
index 8602134..a9bc4f6 100755
--- a/usr/sbin/cast
+++ b/usr/sbin/cast
@@ -794,6 +794,7 @@ function int_trap()
function cast_cleanup() {
$STD_DEBUG
cleanup_tmp_dir $TMP_DIR
+ rmdir $CAST_BACKUPDIR 2>/dev/null
clean_resources
}
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (239162fe6bd1bdfa8cc2279abed02f642af62e11),
Jaka Kranjc, 09/01/2008