Commit f3774c6a authored by Mikhail Efremov's avatar Mikhail Efremov Committed by Alexey Shabalin

bootloader: Fix %preun script

This fixes commit 57d02d3a019e6b749326f09ea8ad9f046b0d93b0.
parent 29fcd0b3
...@@ -245,7 +245,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high ...@@ -245,7 +245,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
%preun bootloader %preun bootloader
[ "$1" -eq 1 ] || exit 0 [ "$1" -eq 0 ] || exit 0
[ "`readlink /boot/splash/message`" != "%theme/message" ] || [ "`readlink /boot/splash/message`" != "%theme/message" ] ||
%rm -f /boot/splash/message %rm -f /boot/splash/message
%endif %endif
......
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