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