official deb

This commit is contained in:
Bob Mottram 2016-03-12 14:00:49 +00:00
parent 760dd7f196
commit 30bb3c230e
1 changed files with 44 additions and 40 deletions

View File

@ -6397,7 +6397,7 @@ function install_owncloud_repo_music_app {
return return
fi fi
if ! grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then if ! grep -Fxq "install_owncloud_official_deb" $COMPLETION_FILE; then
echo $'Tried to install the Owncloud music app, but Owncloud installation was not found' echo $'Tried to install the Owncloud music app, but Owncloud installation was not found'
exit 9823 exit 9823
fi fi
@ -6478,6 +6478,8 @@ function upgrade_owncloud_start {
return return
fi fi
echo $'Starting upgrade of Owncloud'
# remove any owncloud entries from completion # remove any owncloud entries from completion
sed -i '/install_owncloud.*/d' $COMPLETION_FILE sed -i '/install_owncloud.*/d' $COMPLETION_FILE
sed -i '/owncloud.*/d' $COMPLETION_FILE sed -i '/owncloud.*/d' $COMPLETION_FILE
@ -6520,6 +6522,8 @@ function upgrade_owncloud_finish {
return return
fi fi
echo $'Finishing upgrade of Owncloud'
if [ ! -d $OWNCLOUD_PATH/data ]; then if [ ! -d $OWNCLOUD_PATH/data ]; then
mkdir $OWNCLOUD_PATH/data mkdir $OWNCLOUD_PATH/data
fi fi