diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-05-08 00:20:21 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-05-08 00:20:21 +0200 |
commit | 801a8144e3c8451294e043656526d4c3e95ff725 (patch) | |
tree | ce914fa2f52adb93ae35f095b4a3ea462c7868a1 | |
parent | f3807a368113386d5c204b7cd67809acfb52e04b (diff) |
make init function name compatible with posix sh
-rw-r--r-- | libui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ # $3 logfile (or string of logfiles, separated by whitespace) (leave empty to disable logging) # $4 debug categories (leave empty to disable debugging) (an array of categories you will use in debug calls. useful when grepping logfiles) # this library uses the UI debug category internally, you don't need to specify it. we add it automatically -libui-sh-init () +libui_sh_init () { LIBUI_UI=${1:-cli} [ "$LIBUI_UI" == 'dialog' ] && ! which dialog &>/dev/null && die_error "Required dependency dialog not found" |