Update setup.sh
This commit is contained in:
parent
c3f05de602
commit
8bbad5c5d0
1 changed files with 5 additions and 6 deletions
|
@ -8,11 +8,10 @@ clear
|
|||
if [ $(id -u) -eq 0 ]; then
|
||||
echo ""
|
||||
echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
|
||||
echo " Create a new non-privileged user 'archivebox' if necessary. Instructions for Ubuntu/Debian:"
|
||||
echo " Create a new non-privileged user 'archivebox' if necessary."
|
||||
echo " adduser archivebox && usermod -a archivebox -G sudo && su archivebox"
|
||||
echo " https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart"
|
||||
echo " adduser archivebox"
|
||||
echo " usermod -a archivebox -G sudo"
|
||||
echo " su archivebox"
|
||||
echo " https://www.vultr.com/docs/create-a-sudo-user-on-freebsd"
|
||||
echo " Then re-run this script as the non-root user."
|
||||
echo ""
|
||||
exit 2
|
||||
|
@ -154,7 +153,7 @@ fi
|
|||
|
||||
echo ""
|
||||
echo "[+] Installing ArchiveBox and its dependencies using pip..."
|
||||
python3 -m pip install --upgrade archivebox
|
||||
python3 -m pip install --upgrade --ignore-installed archivebox
|
||||
|
||||
echo
|
||||
echo "[+] Initializing ArchiveBox data folder at ~/archivebox..."
|
||||
|
|
Loading…
Add table
Reference in a new issue