mirror of
https://github.com/KDE/kde-linux.git
synced 2025-12-24 00:18:23 -05:00
use long option
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user