Install name

This commit is contained in:
Bob Mottram 2016-03-11 23:09:29 +00:00
parent 4a5d678b92
commit 7b3b37e981
1 changed files with 4 additions and 4 deletions

View File

@ -6385,7 +6385,7 @@ function install_owncloud_repo_music_app {
return
fi
if ! grep -Fxq "install_owncloud_repo" $COMPLETION_FILE; then
if ! grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then
echo $'Tried to install the Owncloud music app, but Owncloud installation was not found'
exit 9823
fi
@ -6523,7 +6523,7 @@ function upgrade_owncloud {
/var/www/${OWNCLOUD_DOMAIN_NAME}/htdocs/occ files:scan $USRNAME
fi
done
# TODO enable this once upgrade is confirmed working
#apt-get -y remove --purge owncloud
#rm -rf /etc/owncloud
@ -6564,7 +6564,7 @@ function install_owncloud_from_repo {
# update to a new commit if needed
set_repo_commit $OWNCLOUD_PATH "Owncloud commit" "$OWNCLOUD_COMMIT" $OWNCLOUD_REPO
OWNCLOUD_COMPLETION_MSG1=$" *** ${PROJECT_NAME} $SYSTEM_TYPE is now installed ***"
OWNCLOUD_COMPLETION_MSG2=$"Open $OWNCLOUD_DOMAIN_NAME in a web browser to complete the setup"
if grep -Fxq "install_owncloud_from_repo" $COMPLETION_FILE; then
@ -6623,7 +6623,7 @@ function install_owncloud_from_repo {
else
sed -i "s/Owncloud commit.*/Owncloud commit:$OWNCLOUD_COMMIT/g" $COMPLETION_FILE
fi
install_mariadb
get_mariadb_password