wip
This commit is contained in:
parent
0e6eaed68f
commit
16448563c7
1 changed files with 4 additions and 4 deletions
|
@ -106,18 +106,18 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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.xz from $cloneUrl"
|
||||||
if command_exists wget; then
|
if command_exists wget; then
|
||||||
wget "$cloneUrl"
|
wget "$cloneUrl"
|
||||||
# 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.xz"
|
||||||
else
|
else
|
||||||
exit 69
|
exit 69
|
||||||
echo_error "curl/wget is required but missing.."
|
echo_error "curl/wget is required but missing.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo_info "Extracting archive.."
|
echo_info "Extracting archive.."
|
||||||
run tar -xvzf "$zenDir/zen.linux-${ARCH}.tar.gz" -C "$zenDir/"
|
run tar -xvzf "./zen.linux-${ARCH}.tar.xz" .
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue