diff options
Diffstat (limited to 'mediawiki-dl')
-rwxr-xr-x | mediawiki-dl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mediawiki-dl b/mediawiki-dl index 16384fb..5b86a6c 100755 --- a/mediawiki-dl +++ b/mediawiki-dl @@ -23,10 +23,10 @@ function mediawiki_deploy { exit 1 fi - wget $RELEASES/$MAJOR_VERSION/$TARBALL - wget $RELEASES/$MAJOR_VERSION/$TARBALL.sig + $sudo wget $RELEASES/$MAJOR_VERSION/$TARBALL + $sudo wget $RELEASES/$MAJOR_VERSION/$TARBALL.sig gpg --verify $TARBALL.sig $TARBALL - tar xvf $TARBALL + $sudo tar xvf $TARBALL $sudo chown -R root. mediawiki-$VERSION rm $TARBALL* $sudo ln -sf mediawiki-$VERSION mediawiki |