diff options
Diffstat (limited to 'bin/ak-settings')
| -rwxr-xr-x | bin/ak-settings | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/ak-settings b/bin/ak-settings index 9465735..32028fd 100755 --- a/bin/ak-settings +++ b/bin/ak-settings @@ -31,9 +31,10 @@ fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) descriptionString="Settings helper program" -source $AK_LIBDIR/_ak_log -source $AK_LIBDIR/_ak_script -source $AK_LIBDIR/_ak_settings +source $AK_LIBDIR/_ak_lib_load +_ak_lib_load _ak_log +_ak_lib_load _ak_script +_ak_lib_load _ak_settings if [ ! -z "$AK_SETTINGS" ] && [ -n "$AK_SETTINGS" ] then @@ -60,7 +61,8 @@ if [ ! -z $1 ]; then -h | --help) _ak_usage; exit;; -g | --get) _ak_settings_get "$2" ; exit;; -s | --set) _ak_settings_set "$2" "$3" ; exit;; - * ) _ak_usage;; + * ) _ak_usage err;; esac -else _ak_usage +else + _ak_usage err fi |
