Remove useless duplicated assignment
This commit is contained in:
1 parent
c9e2a2d86f
commit
7b9819c18d
1 file changed
+2
-4
@@ -1,10 +1,8 @@
|
|||||||
#!/command/with-contenv bash
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
# Change runtime user UID and GID
|
# Change runtime user UID and GID
|
||||||
PUID="${PUID:-911}"
|
groupmod -o -g "${PGID:=911}" app
|
||||||
PUID="${PUID:-911}"
|
usermod -o -u "${PUID:=911}" app
|
||||||
groupmod -o -g "$PGID" app
|
|
||||||
usermod -o -u "$PUID" app
|
|
||||||
|
|
||||||
# Reset permissions
|
# Reset permissions
|
||||||
chown -R app:app /run/app
|
chown -R app:app /run/app
|
||||||
|
|||||||
Reference in new issue
Block a user