From 97334b21ad5bb38d7609740c7c90ef1732fe1756 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 21 Jun 2021 00:54:25 +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 7a907c9..895d627 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': 'find /opt/nextcloud -maxdepth 1 ! -path /opt/nextcloud ! -name config ! -name userapps -exec rm -rf {} \;', + 'command': 'rm -rf /opt/nextcloud/*', 'triggered': True, } actions['extract_nextcloud'] = {