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:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
if [ (id -u) -eq 0 ]; then
|
if [ $(id -u) -eq 0 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
|
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, then re-run the script as that user)"
|
echo " (create a new non-privileged user 'archivebox' if necessary, then re-run the script as that user)"
|
||||||
|
Reference in New Issue
Block a user