Correct PUID PGID

This commit is contained in:
Alexandre
2023-04-02 11:36:20 +02:00
parent 6e8cf5b4e6
commit 65946ced58
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
if bashio::config.has_value "PUID" && bashio::config.has_value "GUID"; then
if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then
bashio::log.green "Setting user to $PUID:$PGID"
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc