Commit 6a767cff authored by Anton V. Boyarshinov's avatar Anton V. Boyarshinov

branding.spec: fix for prev commit

parent ab40c8b3
...@@ -285,6 +285,7 @@ install slideshow/* %buildroot/usr/share/install2/slideshow/ ...@@ -285,6 +285,7 @@ install slideshow/* %buildroot/usr/share/install2/slideshow/
#bootloader #bootloader
%pre bootloader %pre bootloader
[ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||: [ -s /usr/share/gfxboot/%theme ] && rm -fr /usr/share/gfxboot/%theme ||:
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
%post bootloader %post bootloader
%__ln_s -nf %theme/message /boot/splash/message %__ln_s -nf %theme/message /boot/splash/message
...@@ -309,9 +310,6 @@ echo $lang > lang ...@@ -309,9 +310,6 @@ echo $lang > lang
/boot/splash/%theme /boot/splash/%theme
#bootsplash #bootsplash
%pre bootloader
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
%post bootsplash %post bootsplash
%__ln_s -nf %theme %_sysconfdir/bootsplash/themes/current %__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