diff --git a/bin/portzap b/bin/portzap index 232cfa1..9473421 100755 --- a/bin/portzap +++ b/bin/portzap @@ -17,7 +17,7 @@ require_dependency() { deps=$1 for dep in $deps; do if ! which -s "$dep"; then - echo "[x] This command requires ${dep}, but ${dep} wasn't found" + echo "ERR This command requires ${dep}, but ${dep} wasn't found" exit 1 fi done diff --git a/bin/setup-portzap b/bin/setup-portzap index 26bcaa9..8412225 100755 --- a/bin/setup-portzap +++ b/bin/setup-portzap @@ -10,7 +10,7 @@ doas="${localbase}"/etc/doas.conf ## # main if [ "$(id -u)" != "0" ]; then - echo "[-] This command must be run by root" + echo "ERR This command must be run by root" exit 1 fi diff --git a/libexec/portzap/portzap-checkout b/libexec/portzap/portzap-checkout index b91ba85..99b96ea 100644 --- a/libexec/portzap/portzap-checkout +++ b/libexec/portzap/portzap-checkout @@ -21,13 +21,13 @@ gitexec() ## # main if ! "${libexec}"/isportzap-member; then - echo "[x] This command must be run by a member of the '_portzap' group" + echo "ERR This command must be run by a member of the '_portzap' group" exit 1 fi if [ ! -e "${gitdir}/.git" ]; then - echo "[x] ${gitdir} is not a valid git repository." - echo "[x] Try: portzap clone" + echo "ERR ${gitdir} is not a valid git repository." + echo "ERR Try: portzap clone" exit 1 fi diff --git a/libexec/portzap/portzap-clone b/libexec/portzap/portzap-clone index 83ab39a..37e46e6 100755 --- a/libexec/portzap/portzap-clone +++ b/libexec/portzap/portzap-clone @@ -22,13 +22,13 @@ gitexec() ## # main if ! "${libexec}"/isportzap-member; then - echo "[-] This command must be run by a member of the '_portzap' group" + echo "ERR This command must be run by a member of the '_portzap' group" exit 1 fi if [ -e "${gitdir}/.git" ]; then - echo "[-] ${gitdir} exists." - echo "[-] Try 'portzap pull'" + echo "ERR ${gitdir} exists." + echo "ERR Try: portzap pull" exit 1 fi diff --git a/libexec/portzap/portzap-install b/libexec/portzap/portzap-install index 322538e..8519cbb 100755 --- a/libexec/portzap/portzap-install +++ b/libexec/portzap/portzap-install @@ -60,7 +60,7 @@ run_install() ## # main if [ "$(id -u)" != "0" ]; then - echo "[-] This command must be run by root" + echo "ERR This command must be run by root" exit 1 fi diff --git a/libexec/portzap/portzap-pull b/libexec/portzap/portzap-pull index bb4946a..ace8246 100755 --- a/libexec/portzap/portzap-pull +++ b/libexec/portzap/portzap-pull @@ -20,14 +20,14 @@ gitexec() ## # main if ! "${libexec}"/isportzap-member; then - echo "[x] This command must be run by a member of the '_portzap' group" + echo "ERR This command must be run by a member of the '_portzap' group" exit 1 fi if [ ! -e "${gitdir}/.git" ]; then set +x - echo "[x] ${gitdir} is not a valid git repository." - echo "[x] Try 'portzap clone'" + echo "ERR ${gitdir} is not a valid git repository." + echo "ERR Try 'portzap clone'" exit 1 fi diff --git a/libexec/portzap/portzap-rm b/libexec/portzap/portzap-rm index 04c62f4..49c853f 100644 --- a/libexec/portzap/portzap-rm +++ b/libexec/portzap/portzap-rm @@ -25,7 +25,7 @@ erase() ## # main if [ "$(id -u)" != "0" ]; then - echo "[-] This command must be run by root" + echo "ERR This command must be run by root" exit 1 fi