Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 935fc5c0 authored by Akhil's avatar Akhil 🙂
Browse files

Fix custom entrypoint

parent b0983f23
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -36,6 +36,11 @@ if version_greater "$image_version" "$installed_version"; then
else
    echo "Skipping rsync step as version not updated!"
fi

if [ "$(id -u)" = 0 ]; then
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set profile.enabled --value=false --type=boolean"
else
    sh -c "php $DST_DIR/occ config:system:set profile.enabled --value=false --type=boolean"
fi

/entrypoint.sh "$@"