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'] = {