Commit ab40c8b3 authored by Anton V. Boyarshinov's avatar Anton V. Boyarshinov

branding.spec: workaround for bootloader upgrade

parent 9ec6e2d4
......@@ -284,7 +284,7 @@ install slideshow/* %buildroot/usr/share/install2/slideshow/
#bootloader
%pre bootloader
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
[ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||:
%post bootloader
%__ln_s -nf %theme/message /boot/splash/message
......@@ -309,6 +309,9 @@ echo $lang > lang
/boot/splash/%theme
#bootsplash
%pre bootloader
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
%post bootsplash
%__ln_s -nf %theme %_sysconfdir/bootsplash/themes/current
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment