Correction

This commit is contained in:
Alexandre
2023-04-02 12:08:53 +02:00
parent 9a8e3c803c
commit 4d90c0c1d3
3 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
### 26.0.0-10 (02-04-2023)
- Minor bugs fixed
- Improve PUID/PGID code setting, and avoid minor issues
### 26.0.0-9_updater (01-04-2023)

View File

@@ -106,6 +106,6 @@
"slug": "nextcloud_ocr",
"uart": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
"version": "26.0.0-10",
"version": "26.0.0-11",
"webui": "https://[HOST]:[PORT:443]"
}

View File

@@ -2,9 +2,9 @@
# shellcheck shell=bash
if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then
bashio::log.green "Setting user to $PUID:$PGID"
PUID="$(bashio::config "PUID")"
PGID="$(bashio::config "PGID")"
bashio::log.green "Setting user to $PUID:$PGID"
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
fi