Parcourir la source

Sanity check for Owncloud music app

Bob Mottram il y a 10 ans
Parent
révision
dfd7762a7e
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Voir le fichier

@@ -6167,6 +6167,10 @@ function install_owncloud_music_app {
6167 6167
   if grep -Fxq "install_owncloud_music_app" $COMPLETION_FILE; then
6168 6168
       return
6169 6169
   fi
6170
+  if ! grep -Fxq "install_owncloud" $COMPLETION_FILE; then
6171
+	  echo 'Tried to install the Owncloud music app, but Owncloud installation was not found'
6172
+      exit 9823
6173
+  fi
6170 6174
 
6171 6175
   cd /usr/share/owncloud/apps
6172 6176
   git clone https://github.com/owncloud/music music