diff --git a/zen-browser.sh b/zen-browser.sh index 47961ee..c107a84 100644 --- a/zen-browser.sh +++ b/zen-browser.sh @@ -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