mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CI/Docker: Add install-nuclei.sh script and improve inline comments
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
2
scripts/dist/create-users.sh
vendored
2
scripts/dist/create-users.sh
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/scripts:$PATH"
|
||||
|
||||
# abort if not executed as root
|
||||
# Abort if not executed as root.
|
||||
if [ $(id -u) != "0" ]; then
|
||||
echo "Usage: run ${0##*/} as root" 1>&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user