sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master imp-data-simpleinit by Arjan Bouter (ad0a23166585050a5fa539bfcafacb0310819d65)
- From: Arjan Bouter <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master imp-data-simpleinit by Arjan Bouter (ad0a23166585050a5fa539bfcafacb0310819d65)
- Date: Thu, 16 Jun 2011 05:04:27 -0500
GIT changes to master imp-data-simpleinit by Arjan Bouter
<abouter AT sourcemage.org>:
modules/liblist | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ad0a23166585050a5fa539bfcafacb0310819d65
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>
imp-data-simpleinit: corrected check for existing initscript in
enable/disable functions
diff --git a/modules/liblist b/modules/liblist
index 24bc3de..ebbd0d3 100644
--- a/modules/liblist
+++ b/modules/liblist
@@ -41,7 +41,7 @@ simpleinit_activate_script(){
message "all of them will be enabled but you should investigate"
fi
for scriptfile in "${foundscript[@]}"; do
- if [[ ! -x "$scriptfile" ]]; then
+ if [[ ! -e "$scriptfile" ]]; then
message "$scriptfile is not installed"
return 1
elif [[ ! -f "$scriptfile" ]]; then
@@ -80,7 +80,7 @@ simpleinit_deactivate_script(){
message "${foundscript[@]}"
fi
for scriptfile in "${foundscript[@]}"; do
- if [[ ! -x "$scriptfile" ]]; then
+ if [[ ! -e "$scriptfile" ]]; then
message "$scriptfile is not installed"
return 1
elif [[ ! -f "$scriptfile" ]]; then
- [SM-Commit] GIT changes to master imp-data-simpleinit by Arjan Bouter (ad0a23166585050a5fa539bfcafacb0310819d65), Arjan Bouter, 06/16/2011
Archive powered by MHonArc 2.6.24.