posttrans: set breeze as current theme if nothing else is set [release 5.25.2-3mamba;Sun Jul 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:59:07 +01:00
parent 9d9f372e1a
commit 6a7474cb65

View File

@ -2,7 +2,7 @@
Name: breeze-plymouth
Version: 5.25.2
Release: 2mamba
Release: 3mamba
Summary: KDE Plasma 5 boot splash theme
Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba
@ -57,6 +57,8 @@ install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/plymouth/themes/breeze/images/
%posttrans
if [ $1 -ge 1 ]; then
# Set breeze as current theme if none is set
grep "^Theme=" %{_sysconfdir}/plymouth/plymouthd.conf >/dev/null || /usr/sbin/plymouth-set-default-theme breeze
KVER=`uname -r`
INITRAMFS=/boot/initramfs-$KVER.img
if [ -e /boot/vmlinuz-$KVER ]; then
@ -86,6 +88,9 @@ fi
%{_datadir}/plymouth/themes/breeze/images/os.logo.png
%changelog
* Sun Jul 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.2-3mamba
- posttrans: set breeze as current theme if nothing else is set
* Sat Jul 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.2-2mamba
- clear distro name and version