aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjoshua-redfield <joshua.redfield@gmail.com>2011-01-10 01:07:26 -0500
committerjoshua-redfield <joshua.redfield@gmail.com>2011-01-10 01:07:26 -0500
commit4572302db602ff0c341b9600ef454653ec1b8f50 (patch)
tree9fef7712bc97ad92340d80a72f1685c6e261ebe5
parentfe5b019ac34e8b6d6282944527b38b1c6e57698c (diff)
downloadlauf-4572302db602ff0c341b9600ef454653ec1b8f50.tar.gz
lauf-4572302db602ff0c341b9600ef454653ec1b8f50.tar.xz
lauf-4572302db602ff0c341b9600ef454653ec1b8f50.zip
Apparently I broke the plugins arguement when cleaning stuff up in core/help.sh, Fixed and working now.
-rwxr-xr-xcore/help.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/help.sh b/core/help.sh
index 14286db..efed9fe 100755
--- a/core/help.sh
+++ b/core/help.sh
@@ -11,15 +11,13 @@ if [ ${lauf_exec2:=unset} = "with" ] && [ ! ${lauf_exec3:=unset} = "plugin" ]; t
elif [ ! -z "$test2" ]; then
info ${manual} | zenity $lauf_app_options --text-info --width=$(($lauf_height+200)) --height=${lauf_height}
fi
- fi
return
-fi
-if [ ${lauf_exec2:=unset} = "with" ] && [ ${lauf_exec3:=unset} = "plugin" ] && [ ! ${lauf_exec4:=unset} = "unset" ]; then
- if [ -e $lauf_plugin_dir/$lauf_exec4'.sh' ]; then
+elif [ ${lauf_exec2:=unset} = "with" ] && [ ${lauf_exec3:=unset} = "plugin" ]; then
+ if [ -e $lauf_plugin_dir/$lauf_exec4'.sh' ]; then
usage=$(head -n7 $lauf_plugin_dir/$lauf_exec4'.sh' | tail -n1 | tr -d '#')
lauf_notify "${lauf_exec4:=unset}'s Usage:" "$usage"
- fi
- return
+ fi
+ return
fi
zenity $lauf_app_options --text-info --width=$(($lauf_height+200)) --height=${lauf_height} --title="${lauf_app_name}" --filename="${lauf_app_dir}/README.txt"
if [ $? = 0 ]; then