Fix useless rm
This commit is contained in:
parent
e302032bfd
commit
22ebfd1e10
@ -21,8 +21,8 @@ RUN apt install wget \
|
||||
&& /tmp/scripts/mediawiki-ext-search.sh TimedMediaHandler REL1_41 | xargs wget -P /tmp/mediawiki_extensions \
|
||||
&& /tmp/scripts/mediawiki-ext-search.sh UserFunctions REL1_41 | xargs wget -P /tmp/mediawiki_extensions
|
||||
|
||||
RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions && rm {}' \; \
|
||||
&& find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins && rm {}' \; \
|
||||
RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions' \; \
|
||||
&& find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins' \; \
|
||||
&& find /tmp/mediawiki_override -type f -exec php /tmp/scripts/config_placeholder_replace.php "/tmp/config.json" "{}" \; \
|
||||
&& cp -R /tmp/mediawiki_override/* /var/www/html \
|
||||
&& chown www-data:www-data /var/www/html/extensions/ -R \
|
||||
|
Reference in New Issue
Block a user