1
0
Fork 0
mirror of synced 2024-06-01 18:20:20 +12:00

Update setup.sh

This commit is contained in:
Nick Sweeting 2021-04-24 03:21:22 -04:00 committed by GitHub
parent f129b9f443
commit 2f9312f69b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ""