Add force exec
This commit is contained in:
@@ -67,7 +67,7 @@ in {
|
|||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
INSTALLED=$($OCC status --output=json | grep -o '"installed":false')
|
INSTALLED=$($OCC status --output=json | grep -o '"installed":true')
|
||||||
if [ -z "$INSTALLED" ]; then
|
if [ -z "$INSTALLED" ]; then
|
||||||
echo "Running first-time setup..."
|
echo "Running first-time setup..."
|
||||||
|
|
||||||
@@ -75,7 +75,8 @@ in {
|
|||||||
--admin-user "$DEFAULT_ADMIN_USERNAME" \
|
--admin-user "$DEFAULT_ADMIN_USERNAME" \
|
||||||
--admin-pass "$DEFAULT_ADMIN_PASSWORD"
|
--admin-pass "$DEFAULT_ADMIN_PASSWORD"
|
||||||
fi
|
fi
|
||||||
if [ -z "$INSTALLED" ]; then
|
if [ -z "$INSTALLED" ] || [ -f "/tmp/force-nextcloud-setup" ]; then
|
||||||
|
rm -f "/tmp/force-nextcloud-setup"
|
||||||
echo "Applying Settings..."
|
echo "Applying Settings..."
|
||||||
|
|
||||||
$OCC config:system:set default_phone_region --value="CH"
|
$OCC config:system:set default_phone_region --value="CH"
|
||||||
|
|||||||
Reference in New Issue
Block a user