Different approach, always create npmuser

even if the user id is zero, and then we'll always use it
This commit is contained in:
Jamie Curnow committed 2023-03-30 11:19:16 +10:00
1 parent dad8561ea1
commit 4a86bb42cc
6 files changed
+33 -61

No files matched your search

@@ -3,17 +3,15 @@
set -e
echo
echo "-------------------------------------
echo "
-------------------------------------
_ _ ____ __ __
| \ | | _ \| \/ |
| \| | |_) | |\/| |
| |\ | __/| | | |
|_| \_|_| |_| |_|
-------------------------------------"
if [[ "$PUID" -ne '0' ]]; then
echo "User UID: $(id -u npmuser)"
echo "User GID: $(id -g npmuser)"
echo "-------------------------------------"
fi
echo
-------------------------------------
User ID: $PUID
Group ID: $PGID
-------------------------------------
"