File tree Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ln -s /data-ro/nextcloud /var/www/nextcloud; \
3232# stop mysqld
3333mysqladmin -u root shutdown; \
3434
35- # package cleanup
35+ # package cleanup
3636apt-get autoremove -y; \
3737apt-get clean; \
3838find /var/lib/apt/lists -type f | xargs rm; \
@@ -44,7 +44,7 @@ rm -f /var/log/alternatives.log /var/log/apt/*; \
4444# specific cleanup
4545apt-get purge -y wget ca-certificates; \
4646rm /nc-nextcloud.sh /usr/local/etc/ncp-config.d/nc-nextcloud.cfg; \
47- rm /.ncp-image;
47+ rm /.ncp-image;
4848
4949COPY docker/nextcloud/020nextcloud /etc/services-enabled.d/
5050COPY bin/ncp-provisioning.sh /usr/local/bin/
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ install_app ncp.sh; \
4343
4444mv /usr/local/etc/ncp-config.d/nc-init-copy.cfg /usr/local/etc/ncp-config.d/nc-init.cfg; \
4545run_app_unsafe bin/ncp/CONFIG/nc-init.sh; \
46+ sed -i 's|data-ro|data|' /data-ro/nextcloud/config/config.php; \
4647
4748# fix default paths
4849sed -i 's|/media/USBdrive|/data/backups|' /usr/local/etc/ncp-config.d/nc-backup.cfg; \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ rm "${crontab_tmp}"
2020
2121# docker images only
2222[[ -f /.docker-image ]] && {
23+ # fix build bug on v1.32.0
24+ sed -i ' s|data-ro|data|' /data/nextcloud/config/config.php
2325 :
2426}
2527
You can’t perform that action at this time.
0 commit comments