This commit is contained in:
pika 2025-05-12 16:43:38 +02:00
parent 73d1066bd7
commit 0b4838b1c6

View file

@ -108,7 +108,7 @@
cd "$zenDir" || mkdir -p "$zenDir" && cd "$zenDir" cd "$zenDir" || mkdir -p "$zenDir" && cd "$zenDir"
echo_info "Downloading .tar.gz from $cloneUrl" echo_info "Downloading .tar.gz from $cloneUrl"
if command_exists wget; then if command_exists wget; then
wget "$cloneUrl" wget "$cloneUrl" - | tar -xvzf
elif command_exists curl; then elif command_exists curl; then
curl -fsSL "$cloneUrl" -o "zen.linux-${ARCH}.tar.gz" curl -fsSL "$cloneUrl" -o "zen.linux-${ARCH}.tar.gz"
else else
@ -117,7 +117,7 @@
fi fi
echo_info "Extracting archive.." echo_info "Extracting archive.."
run tar -xvzf ./*.tar.gz . run tar -xvzf "./zen.linux-${ARCH}.tar.gz" .
echo_info "Installing to /bin/zen-browser" echo_info "Installing to /bin/zen-browser"
$_sudo ln -fsr ./zen/zen-bin /bin/zen-browser $_sudo ln -fsr ./zen/zen-bin /bin/zen-browser