#!/bin/sh
set -eu

for app in $(cat /usr/src/nextcloud/config/apps_remove)
    do 
        echo "removing app $app"
        rm -R /usr/src/nextcloud/apps/$app
    done
    