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

Commit 5aed51a6 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

occ command for profile enabled added

parent 89302f64
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@ if version_greater "$image_version" "$installed_version"; then
    rsync $rsync_options --include "/murena_launcher/" --exclude '/*' $SRC_DIR/custom_apps/ $DST_DIR/custom_apps/
    rsync $rsync_options --include "/integration_google/" --exclude '/*' $SRC_DIR/custom_apps/ $DST_DIR/custom_apps/
    rsync $rsync_options --include "/ldap_write_support/" --exclude '/*' $SRC_DIR/custom_apps/ $DST_DIR/custom_apps/

    rsync $rsync_options --include "/eCloud/" --exclude '/*' $SRC_DIR/themes/ $DST_DIR/themes/
    docker exec -u www-data ecloud /var/www/html/occ config:system:set profile.enabled --value='false
else
    echo "Skipping rsync step as version not updated!"
fi

 su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set profile.enabled --value='false'"

/entrypoint.sh "$@"