Created
December 28, 2018 13:40
-
-
Save janl/4956771efbd265b1aa860b6494ae3b6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -ex | |
VERSIONS="8.2.11 9.0.11 9.1.8 10.0.10" | |
mv owncloud basecloud | |
for VERSION in $VERSIONS; do | |
echo "doing $VERSION" | |
if [ -d owncloud ]; then | |
mv owncloud owncloud-pre-$VERSION | |
fi | |
fetch https://download.owncloud.org/community/owncloud-$VERSION.tar.bz2 | |
tar xjf owncloud-$VERSION.tar.bz2 | |
cd owncloud | |
ln -s ../basecloud/data . | |
cd config | |
ln -s ../../basecloud/config/config.php . | |
cd ../../ | |
echo "go to the browser now, hit enter when done" | |
read foo | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment