This commit is contained in:
parent
765603b978
commit
f4a55bd31e
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 29 09:36:32 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
- Ensure that both grub and grub2 are adjusted with regards to the
|
||||||
|
splash parameter. Running grub2-mkconfig to have the right
|
||||||
|
configuration.
|
||||||
|
- Installation of themes are not causing any reset of the selected
|
||||||
|
default theme anymore. Now this only happens when a theme is
|
||||||
|
installed and the default theme is set to TEXT.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 25 09:03:44 UTC 2012 - tittiatcoke@gmail.com
|
Sun Mar 25 09:03:44 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@ -347,6 +347,10 @@ rm -rf %{buildroot}
|
|||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
if [ -f %{_sysconfdir}/default/grub ]; then
|
if [ -f %{_sysconfdir}/default/grub ]; then
|
||||||
sed -i 's|splash=silent|splash|g' %{_sysconfdir}/default/grub
|
sed -i 's|splash=silent|splash|g' %{_sysconfdir}/default/grub
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
|
fi
|
||||||
|
if [ -f /boot/grub/menu.lst ]; then
|
||||||
|
sed -i 's|splash=silent|splash|g' /boot/grub/menu.lst
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -356,6 +360,10 @@ if [ $1 -eq 0 ]; then
|
|||||||
rm -f /boot/initrd-plymouth.img
|
rm -f /boot/initrd-plymouth.img
|
||||||
if [ -f %{_sysconfdir}/default/grub ]; then
|
if [ -f %{_sysconfdir}/default/grub ]; then
|
||||||
sed -i 's|splash|splash=silent|g' %{_sysconfdir}/default/grub
|
sed -i 's|splash|splash=silent|g' %{_sysconfdir}/default/grub
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
|
fi
|
||||||
|
if [ -f /boot/grub/menu.lst ]; then
|
||||||
|
sed -i 's|splash|splash=silent|g' /boot/grub/menu.lst
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -375,15 +383,19 @@ fi
|
|||||||
%postun -n libply2 -p /sbin/ldconfig
|
%postun -n libply2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post theme-spinfinity
|
%post theme-spinfinity
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme spinfinity
|
%{_sbindir}/plymouth-set-default-theme spinfinity
|
||||||
if [ -x /sbin/mkinitrd ]; then
|
if [ -x /sbin/mkinitrd ]; then
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%postun theme-spinfinity
|
%postun theme-spinfinity
|
||||||
export LIB=%{_libdir}
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinfinity" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinfinity" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme --reset
|
%{_sbindir}/plymouth-set-default-theme --reset
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
@ -391,15 +403,19 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post theme-fade-in
|
%post theme-fade-in
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme fade-in
|
%{_sbindir}/plymouth-set-default-theme fade-in
|
||||||
if [ -x /sbin/mkinitrd ]; then
|
if [ -x /sbin/mkinitrd ]; then
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%postun theme-fade-in
|
%postun theme-fade-in
|
||||||
export LIB=%{_libdir}
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "fade-in" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "fade-in" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme --reset
|
%{_sbindir}/plymouth-set-default-theme --reset
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
@ -407,15 +423,19 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post theme-solar
|
%post theme-solar
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme solar
|
%{_sbindir}/plymouth-set-default-theme solar
|
||||||
if [ -x /sbin/mkinitrd ]; then
|
if [ -x /sbin/mkinitrd ]; then
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%postun theme-solar
|
%postun theme-solar
|
||||||
export lib=%{_libdir}
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
|
export lib=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "solar" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "solar" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme --reset
|
%{_sbindir}/plymouth-set-default-theme --reset
|
||||||
/sbin/mkinitrd
|
/sbin/mkinitrd
|
||||||
|
Loading…
Reference in New Issue
Block a user