[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a9d72e2724d382b57c7c42ec6173ca0e7a631e44)

Jaka Kranjc scm at sourcemage.org
Thu Aug 21 13:36:07 EDT 2008


GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 ChangeLog                         |    3 +++
 var/lib/sorcery/modules/libtablet |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit a9d72e2724d382b57c7c42ec6173ca0e7a631e44
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    libtablet: REPAIR^all can now "repair" non-existing files

diff --git a/ChangeLog b/ChangeLog
index e89c590..586bdaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-08-21 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* libtablet: REPAIR^all can now "repair" non-existing files
+
 2008-08-20 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* libmisc: reverted smgl_dirname to the simpler previous implementation
 	  and added a oneliner to make it pass all the unit tests
diff --git a/var/lib/sorcery/modules/libtablet b/var/lib/sorcery/modules/libtablet
index e1bca0d..53ac9c8 100755
--- a/var/lib/sorcery/modules/libtablet
+++ b/var/lib/sorcery/modules/libtablet
@@ -660,7 +660,7 @@ function tablet_check_repair_file() {
   esac
 
   if ! [[ $tablet_file ]] ; then
-    if [[ $key == none ]] ; then
+    if [[ $key == none ]] || [[ $key == all ]]; then
       # WARNING: tb_version specific path derivation here:
       tablet_file=$page/$type/$name
       replace=1



More information about the SM-Commit mailing list