use long option

This commit is contained in:
Harald Sitter
2025-08-27 04:59:19 +02:00
parent 7add26f29d
commit 0b1bb37e3a

View File

@@ -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"