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