From dfd7762a7e094353ab31b79517bb2cc27d6d2645 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Jan 2015 15:50:19 +0000 Subject: [PATCH] Sanity check for Owncloud music app --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 6a13d505..96b61976 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6167,6 +6167,10 @@ function install_owncloud_music_app { if grep -Fxq "install_owncloud_music_app" $COMPLETION_FILE; then return fi + if ! grep -Fxq "install_owncloud" $COMPLETION_FILE; then + echo 'Tried to install the Owncloud music app, but Owncloud installation was not found' + exit 9823 + fi cd /usr/share/owncloud/apps git clone https://github.com/owncloud/music music