Testing new logic..

This commit is contained in:
pika 2025-05-24 13:51:41 +02:00
parent 5e121d4e1c
commit 316379e80b

View file

@ -127,11 +127,11 @@
upclear upclear
check "Done pulling archive" check "Done pulling archive"
else else
# throw-err
upclear upclear
throw "Error pulling archive" throw-err
pen bold yellow "OUT: ${out:-}" # throw "Error pulling archive"
echo-error "${err:-}" # pen bold yellow "OUT: ${out:-}"
# echo-error "${err:-}"
fi fi
elif command_exists curl; then elif command_exists curl; then
@ -139,11 +139,11 @@
upclear upclear
check "Done pulling archive" check "Done pulling archive"
else else
# throw-err
upclear upclear
throw "Error pulling archive" throw-err
pen bold yellow "OUT: ${out:-}" # throw "Error pulling archive"
echo-error "${err:-}" # pen bold yellow "OUT: ${out:-}"
# echo-error "${err:-}"
fi fi
# curl -fsSL "$cloneUrl" -o "zen.linux-${ARCH}.tar.xz" # curl -fsSL "$cloneUrl" -o "zen.linux-${ARCH}.tar.xz"
else else
@ -156,11 +156,11 @@
upclear upclear
check "Extracted archive.." check "Extracted archive.."
else else
# throw-err
upclear upclear
throw "Error extracting archive" throw-err
pen bold yellow "OUT: ${out:-}" # throw "Error extracting archive"
echo-error "${err:-}" # pen bold yellow "OUT: ${out:-}"
# echo-error "${err:-}"
fi fi
pen bold blue "Installing to /bin/zen-browser" pen bold blue "Installing to /bin/zen-browser"