diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-04-01 15:34:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-04-01 15:34:44 -0300 |
commit | 4cac8803e8eb3f90e019ab66286383c69976c82d (patch) | |
tree | 913c60f55d0e44cfdd2bf1bb2a4ff6469534d9b4 | |
parent | f6e642687a8a93dd0b5c352f008f64ab6e5b9bc7 (diff) | |
download | downloaders-4cac8803e8eb3f90e019ab66286383c69976c82d.tar.gz downloaders-4cac8803e8eb3f90e019ab66286383c69976c82d.tar.bz2 |
More sudo on 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 |