Compare commits

...

2 Commits

Author SHA1 Message Date
e4501794f2 extensions work (for real this time) 2022-11-08 19:38:27 -05:00
78e2bcf9ca fixed wc implementation 2022-11-08 10:16:20 -05:00

View File

@ -29,19 +29,19 @@ fi
# check if we have tomcat(1) # check if we have tomcat(1)
if ! command -v tomcat >/dev/null 2>&1; then if ! command -v tomcat >/dev/null 2>&1; then
printf "%s: Missing dependency: stoml(1)\n" "$argv0" 1>&2 printf "%s: Missing dependency: tomcat(1)\n" "$argv0" 1>&2
exit 71 # sysexits(3) EX_OSERR exit 71 # sysexits(3) EX_OSERR
fi fi
# set the XDG_COMMAND # set the XDG_COMMAND
test -n "$XDG_COMMAND" || XDG_COMMAND="$(tomcat tools.xdg $CONFIG)" test -n "$XDG_COMMAND" || XDG_COMMAND="$(tomcat tools.xdg "$CONFIG")"
! command -v handlr >/dev/null 2>&1 && ! command -v xdg-open >/dev/null 2>&1 \ ! command -v handlr >/dev/null 2>&1 && ! command -v xdg-open >/dev/null 2>&1 \
&& XDG_COMMAND=false \ && XDG_COMMAND=false \
|| true || true
# check if we have a BROWSER # check if we have a BROWSER
test -n "$BROWSER" || BROWSER="$(tomcat tools.browser $CONFIG)" test -n "$BROWSER" || BROWSER="$(tomcat tools.browser "$CONFIG")"
if ! test -n "$BROWSER"; then if ! test -n "$BROWSER"; then
printf "\ printf "\
%s: \$BROWSER not filled. %s: \$BROWSER not filled.