From 12b5ae3470e18e6f71b032d209e96f80e341f83b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 9 Oct 2022 10:56:49 +0200 Subject: [PATCH] Update 99-config.sh --- unpackerr/rootfs/etc/cont-init.d/99-config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unpackerr/rootfs/etc/cont-init.d/99-config.sh b/unpackerr/rootfs/etc/cont-init.d/99-config.sh index 2ba3efce0..2a6257443 100644 --- a/unpackerr/rootfs/etc/cont-init.d/99-config.sh +++ b/unpackerr/rootfs/etc/cont-init.d/99-config.sh @@ -1,11 +1,11 @@ #!/usr/bin/bashio # Set user -if bashio::config_has.value 'PUID'; then PUID = "$(bashio::config 'PUID')"; fi -if bashio::config_has.value 'PGID'; then PGID = "$(bashio::config 'PGID')"; fi +if bashio::config.has_value 'PUID'; then PUID = "$(bashio::config 'PUID')"; fi +if bashio::config.has_value 'PGID'; then PGID = "$(bashio::config 'PGID')"; fi # Enable watch folder -if bashio::config_has.value "watch_path"; then +if bashio::config.has_value "watch_path"; then # Enables folders sed -i "/[[folder]]/c [[folder]]" /config/unpackerr.conf # Set downloads path @@ -19,7 +19,7 @@ if bashio::config_has.value "watch_path"; then fi # Enable extraction folder -if bashio::config_has.value "extraction_path"; then +if bashio::config.has_value "extraction_path"; then # Enables folders sed -i "/[[folder]]/c [[folder]]" /config/unpackerr.conf # Set extraction path