mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 09:27:44 +01:00
Correct PUID
This commit is contained in:
@@ -35,8 +35,7 @@ fi
|
||||
|
||||
# Specify launcher
|
||||
PUID=$(bashio::config "PUID")
|
||||
PGID=$(bashio::config "PGID")
|
||||
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
|
||||
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
|
||||
|
||||
# Inform if new version available
|
||||
function nextcloud_download {
|
||||
|
||||
@@ -6,7 +6,6 @@ if [ -f /notinstalled ]; then exit 0; fi
|
||||
|
||||
# Specify launcher
|
||||
PUID=$(bashio::config "PUID")
|
||||
PGID=$(bashio::config "PGID")
|
||||
|
||||
# Check current version
|
||||
if [ -f /data/config/www/nextcloud/version.php ]; then
|
||||
|
||||
@@ -8,7 +8,7 @@ if [ -f /notinstalled ]; then exit 0; fi
|
||||
# Specify launcher
|
||||
PUID=$(bashio::config "PUID")
|
||||
PGID=$(bashio::config "PGID")
|
||||
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
|
||||
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
|
||||
|
||||
if $LAUNCHER fulltextsearch:test &>/dev/null; then
|
||||
echo "Full Text Search is already working"
|
||||
|
||||
@@ -6,8 +6,7 @@ if [ -f /notinstalled ]; then exit 0; fi
|
||||
|
||||
# Specify launcher
|
||||
PUID=$(bashio::config "PUID")
|
||||
PGID=$(bashio::config "PGID")
|
||||
LAUNCHER="sudo -u \#"$PUID" php /data/config/www/nextcloud/occ"
|
||||
LAUNCHER="sudo -u \#$PUID php /data/config/www/nextcloud/occ"
|
||||
|
||||
####################
|
||||
# Initialization #
|
||||
|
||||
Reference in New Issue
Block a user