From 35e9cf16090a3ffe7b6153e9e9d1bbe767b7dc3f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Jan 2021 07:34:17 -0500 Subject: prof_proteanos_make_initramfs(): Also delete dirs --- diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index fbfce2d..7c053c9 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -458,6 +458,10 @@ prof_proteanos_make_initramfs() find . -xdev -a \! -path './boot/*' -a \ \! -path './prokit/*' -a \! -type d | \ xargs rm -f + find . -xdev -depth -type d -a \! -name '.' \ + -a \! -name 'boot' -a \! -path './boot/*' \ + -a \! -name 'prokit' -a \! -path './prokit/*' \ + | xargs rmdir return 0 } -- cgit v0.9.1