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

Commit f03c48cc authored by Florent VINCENT's avatar Florent VINCENT 👾
Browse files

Update custom_entrypoint.sh to force theme (re)activation in case of nc upgrade

parent e4a5bdd1
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,4 +19,9 @@ rsync $rsync_options --include "/ecloud_drop_account" --exclude '/*' $SRC_DIR/cu
rsync $rsync_options --include "/eelo/" --exclude '/*' $SRC_DIR/themes/ $DST_DIR/themes/

/entrypoint.sh "$@"

# force eelo theme to be loaded
su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set theme --value eelo"
su -p www-data -s /bin/sh -c "php /var/www/html/occ maintenance:theme:update"

echo "NC exits"