mirror of
https://github.com/friendica/docker
synced 2025-07-13 16:07:38 +02:00
exclude addon configuration as well, kudos @MrPetovan
This commit is contained in:
parent
9b3b73a27a
commit
46f7ca5624
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
||||||
rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/friendica/ /var/www/html/
|
rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/friendica/ /var/www/html/
|
||||||
|
|
||||||
# Update docker-based config files, but never delete other config files
|
# Update docker-based config files, but never delete other config files
|
||||||
rsync $rsync_options --update --exclude=/local.config.php /usr/src/friendica/config/ /var/www/html/config/
|
rsync $rsync_options --update --exclude=/addon.config.php --exclude=/local.config.php /usr/src/friendica/config/ /var/www/html/config/
|
||||||
|
|
||||||
# In case there is no .htaccess, copy it from the default dist file
|
# In case there is no .htaccess, copy it from the default dist file
|
||||||
if [ ! -f "/var/www/html/.htaccess" ]; then
|
if [ ! -f "/var/www/html/.htaccess" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue