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

Commit f35d5c67 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

conflict resolved

parent dd887c20
Loading
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -37,22 +37,5 @@ 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 app:disable apporder"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable murena_launcher"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-theme-helper"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:disable ecloud_drop_account"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set integrity.check.disabled --value='true' --type=boolean"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set theme --value='eCloud'"
else
    sh -c "php $DST_DIR/occ app:disable apporder"
    sh -c "php $DST_DIR/occ app:enable ecloud-launcher"
    sh -c "php $DST_DIR/occ app:enable ecloud-theme-helper"
    sh -c "php $DST_DIR/occ app:disable ecloud_drop_account"
    sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    sh -c "php $DST_DIR/occ config:system:set integrity.check.disabled --value='true' --type=boolean"
    sh -c "php $DST_DIR/occ config:system:set theme --value='eCloud'"
fi

/entrypoint.sh "$@"