diff --git a/mkosi.postinst.chroot b/mkosi.postinst.chroot index dd48b02..2094fcb 100755 --- a/mkosi.postinst.chroot +++ b/mkosi.postinst.chroot @@ -127,7 +127,7 @@ KEEP_THEME="breeze-bgrt" plymouth-set-default-theme "$KEEP_THEME" # Remove all other themes except KEEP_THEME, text, and details -for theme in $(plymouth-set-default-theme -l); do +for theme in $(plymouth-set-default-theme --list); do if [[ "$theme" != "$KEEP_THEME" && "$theme" != "text" && "$theme" != "details" ]]; then theme_dir="/usr/share/plymouth/themes/$theme" [[ -d "$theme_dir" ]] && rm -rf -- "$theme_dir"