aboutsummaryrefslogtreecommitdiff
path: root/mediawiki-dl
diff options
context:
space:
mode:
Diffstat (limited to 'mediawiki-dl')
-rwxr-xr-xmediawiki-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediawiki-dl b/mediawiki-dl
index 4cc2cb4..903b8a9 100755
--- a/mediawiki-dl
+++ b/mediawiki-dl
@@ -55,7 +55,7 @@ function mediawiki_upgrade {
# Symlink extensions
for extension in `ls mediawiki-$OLD_VERSION/extensions`; do
if [ -h "mediawiki-$OLD_VERSION/extensions/$extension" ]; then
- $sudo cp mediawiki-$OLD_VERSION/extensions/$extension mediawiki-$VERSION/extensions/$extension
+ $sudo cp -ar mediawiki-$OLD_VERSION/extensions/$extension mediawiki-$VERSION/extensions/
fi
done
fi