From 2f9312f69b4e5a9bb9c6d22c8925513f80f29649 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 24 Apr 2021 03:21:22 -0400 Subject: [PATCH] Update setup.sh --- bin/setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/setup.sh b/bin/setup.sh index 7a38a048..fa95390a 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -112,7 +112,8 @@ if which apt-get > /dev/null; then fi echo echo "[+] Installing ArchiveBox and its dependencies using apt..." - sudo apt install -y git python3 python3-pip python3-distutils wget curl youtube-dl ffmpeg git nodejs npm ripgrep + sudo apt-get install -y git python3 python3-pip python3-distutils wget curl youtube-dl ffmpeg git nodejs npm ripgrep + sudo apt-get install -y chromium || sudo apt-get install -y chromium-browser || true sudo apt-get install -y archivebox sudo apt-get --only-upgrade install -y archivebox @@ -124,7 +125,8 @@ elif which brew > /dev/null; then brew install --fetch-HEAD -f archivebox elif which pkg > /dev/null; then echo "[+] Installing ArchiveBox and its dependencies using pkg..." - sudo pkg install python37 py37-pip py37-sqlite3 node npm wget curl youtube_dl ffmpeg git ripgrep + sudo pkg install -y python37 py37-pip py37-sqlite3 node npm wget curl youtube_dl ffmpeg git ripgrep + sudo pkg install -y chromium else echo "[!] Warning: Could not find aptitude/homebrew/pkg! May not be able to install all dependencies automatically." echo ""