diff --git a/sysprep.sh b/sysprep.sh index d2b09e2..b93a437 100644 --- a/sysprep.sh +++ b/sysprep.sh @@ -478,7 +478,7 @@ sssd_db_log() { tmp_files() { verbose "# Remove temporary files" run "rm -rf /tmp/*" - run "rm -rf /var/tmp/!(distfiles,portage)" # do not remove both! + run "rm -rf /var/tmp/!(distfiles|portage)" # do not remove both! run "rm -rf /var/tmp/distfiles/*" run "rm -rf /var/tmp/portage/*" verbose