CI/Docker: Add install-nuclei.sh script and improve inline comments

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2022-12-12 20:38:44 +01:00
parent 2a42308cae
commit 82367602fd
19 changed files with 53 additions and 29 deletions

View File

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