From 93af7e94ec0321eb6206744f068db6d2dedcca8d Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 17 Apr 2024 14:32:26 -0300 Subject: [PATCH] Update portzap-{clone,pull} --- libexec/portzap/portzap-clone | 4 ++-- libexec/portzap/portzap-pull | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/portzap/portzap-clone b/libexec/portzap/portzap-clone index 4ac9845..7e7c32c 100755 --- a/libexec/portzap/portzap-clone +++ b/libexec/portzap/portzap-clone @@ -8,8 +8,8 @@ gitdir=$2 ## # main if [ -e "${gitdir}/.git" ]; then - echo "${gitdir} already exists." - echo "Try 'portzap pull' instead." + echo "[-] ${gitdir} exists." + echo "[-] Try 'portzap pull'" exit 1 fi umask u=rwX,g=rwX,o= diff --git a/libexec/portzap/portzap-pull b/libexec/portzap/portzap-pull index c8fc515..69355dc 100755 --- a/libexec/portzap/portzap-pull +++ b/libexec/portzap/portzap-pull @@ -12,7 +12,7 @@ if [ -e "${gitdir}/.git" ]; then cd "${gitdir}" git pull --rebase origin hardenedbsd/main else - echo "A copy of the hardenedbsd ports tree wasn't found." - echo "Try 'portzap clone' instead." + echo "[-] ${gitdir} is not a valid git repository." + echo "[-] Try 'portzap clone'" exit 1 fi