From 06f755e17219d18ea1dc89303b25fef86131f253 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 21 Jun 2021 00:05:46 +0200 Subject: [PATCH] wip --- bundles/nextcloud/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/nextcloud/items.py b/bundles/nextcloud/items.py index a34aa62..170cc0a 100644 --- a/bundles/nextcloud/items.py +++ b/bundles/nextcloud/items.py @@ -17,7 +17,7 @@ downloads[f'/tmp/nextcloud-{version}.tar.bz2'] = { 'triggered': True, } actions['delete_nextcloud'] = { - 'command': f'rm -rf /opt/nextcloud/*', + 'command': 'find /opt/nextcloud -maxdepth 1 ! -path /opt/nextcloud ! -name config ! -name userapps -exec rm -rf {} \;', 'triggered': True, } actions['extract_nextcloud'] = {