diff --git a/installNextcloudApps.sh b/installNextcloudApps.sh
index a1eec747adeb62d2fcfcf30a82a11319a3600d6d..a5b7834663a1ce698567345d19ca966997e7d783 100644
--- a/installNextcloudApps.sh
+++ b/installNextcloudApps.sh
@@ -16,7 +16,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 NEXTCLOUD_INSTALL_DIR="/var/www/nextcloud/"
-APPS= "tasks news talk calendar contacts impersonate"
+APPS="tasks news talk calendar contacts impersonate"
 
 # Take 1 parameters: app_id
 install_app () {
@@ -25,7 +25,7 @@ install_app () {
     echo "\tEnable ${application} : terminated, code $?"
 }
 
-for app in APPS
+for app in $APPS
 do
     install_app $app
 done