Skip to content

Instantly share code, notes, and snippets.

@janl
Created December 28, 2018 13:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save janl/4956771efbd265b1aa860b6494ae3b6a to your computer and use it in GitHub Desktop.
#!/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