Loading custom_entrypoint.sh +12 −1 Original line number Diff line number Diff line Loading @@ -19,4 +19,15 @@ 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 "$@" echo "NC exits" # force eelo theme to be (re)loaded after an upgrade if [ "$(id -u)" = 0 ]; then 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" else sh -c "php /var/www/html/occ config:system:set theme --value eelo" sh -c "php /var/www/html/occ maintenance:theme:update" fi echo "NC ready!" Loading
custom_entrypoint.sh +12 −1 Original line number Diff line number Diff line Loading @@ -19,4 +19,15 @@ 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 "$@" echo "NC exits" # force eelo theme to be (re)loaded after an upgrade if [ "$(id -u)" = 0 ]; then 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" else sh -c "php /var/www/html/occ config:system:set theme --value eelo" sh -c "php /var/www/html/occ maintenance:theme:update" fi echo "NC ready!"