sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (0a9226f1b9fef87b033526c5abb2bc50c570fa3e)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (0a9226f1b9fef87b033526c5abb2bc50c570fa3e)
- Date: Wed, 18 Jun 2008 08:28:36 -0500
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
etc/sorcery/config | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 0a9226f1b9fef87b033526c5abb2bc50c570fa3e
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
added missing file handling to the color() hack
diff --git a/ChangeLog b/ChangeLog
index 9ab9a70..f28cda0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2008-06-18 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* config: made the rest of the previously overridable variables
overridable
+ added missing file handling to the color() hack
* libsorcery: increment the counter before drawing the progress bar
* libtablet: only hardlink files if they're not already hardlinked
when
coalescing the tablet
diff --git a/etc/sorcery/config b/etc/sorcery/config
index b863fca..0f12804 100755
--- a/etc/sorcery/config
+++ b/etc/sorcery/config
@@ -9,6 +9,7 @@ shopt -u expand_aliases
# numb color, so it doesn't fail for users who have it in LOCAL_CONFIG
# its use was moved to LOCAL_MEDIA_CONFIG; remove this in 1.16
color() {
+ [[ -e $LOCAL_CONFIG ]] || return 0
if grep -q '^ *color "*off' $LOCAL_CONFIG; then
echo 'color "off"' >> $LOCAL_MEDIA_CONFIG
fi
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (0a9226f1b9fef87b033526c5abb2bc50c570fa3e), Jaka Kranjc, 06/18/2008
Archive powered by MHonArc 2.6.24.