Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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