Signed-off-by: Xu Xijian <hdxuxijian(a)163.com>
---
container/add-software/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/add-software/run b/container/add-software/run
index 60e5e07..85f038b 100755
--- a/container/add-software/run
+++ b/container/add-software/run
@@ -43,7 +43,7 @@ install_cmds=(
bash -c "
yum install -y --skip-broken --installroot=/mnt/root $packages
cd /mnt/root
- rm -rf srv/* opt/* mnt/* media/* home/* lost+found/* dev/* proc/* run/* sys/*
+ rm -rf srv/{*,.*} opt/{*,.*} mnt/{*,.*} media/{*,.*} home/{*,.*} lost+found/{*,.*} dev/{*,.*} proc/{*,.*} run/{*,.*} sys/{*,.*}
"
)
--
2.23.0