mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-13 18:14:24 +02:00
Update setup.sh
This commit is contained in:
@@ -19,9 +19,7 @@ echo ""
|
|||||||
echo " If you'd rather install these manually, you can find documentation here:"
|
echo " If you'd rather install these manually, you can find documentation here:"
|
||||||
echo " https://github.com/ArchiveBox/ArchiveBox/wiki/Install"
|
echo " https://github.com/ArchiveBox/ArchiveBox/wiki/Install"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Press enter to continue with the automatic install, or Ctrl+C to cancel..."
|
read -p "Press [enter] to continue with the automatic install, or Ctrl+C to cancel..."
|
||||||
read
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# On Linux:
|
# On Linux:
|
||||||
@@ -29,7 +27,7 @@ if which apt-get > /dev/null; then
|
|||||||
echo "[+] Updating apt repos..."
|
echo "[+] Updating apt repos..."
|
||||||
sudo apt update -qq
|
sudo apt update -qq
|
||||||
echo "[+] Installing python3, wget, curl..."
|
echo "[+] Installing python3, wget, curl..."
|
||||||
sudo apt install git python3 python3-pip python3-distutils wget curl youtube-dl nodejs npm
|
sudo apt install -y git python3 python3-pip python3-distutils wget curl youtube-dl nodejs npm
|
||||||
|
|
||||||
if which google-chrome; then
|
if which google-chrome; then
|
||||||
echo "[i] You already have google-chrome installed, if you would like to download chromium instead (they work pretty much the same), follow the Manual Setup instructions"
|
echo "[i] You already have google-chrome installed, if you would like to download chromium instead (they work pretty much the same), follow the Manual Setup instructions"
|
||||||
@@ -42,7 +40,7 @@ if which apt-get > /dev/null; then
|
|||||||
chromium --version
|
chromium --version
|
||||||
else
|
else
|
||||||
echo "[+] Installing chromium..."
|
echo "[+] Installing chromium..."
|
||||||
sudo apt install chromium
|
sudo apt install chromium || sudo apt install chromium-browser
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# On Mac:
|
# On Mac:
|
||||||
|
Reference in New Issue
Block a user