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
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'
exit 9823
fi
@ -6478,6 +6478,8 @@ function upgrade_owncloud_start {
return
fi
echo $'Starting upgrade of Owncloud'
# remove any owncloud entries from completion
sed -i '/install_owncloud.*/d' $COMPLETION_FILE
sed -i '/owncloud.*/d' $COMPLETION_FILE
@ -6520,6 +6522,8 @@ function upgrade_owncloud_finish {
return
fi
echo $'Finishing upgrade of Owncloud'
if [ ! -d $OWNCLOUD_PATH/data ]; then
mkdir $OWNCLOUD_PATH/data
fi