Commit 29fcd0b3 authored by Mikhail Efremov's avatar Mikhail Efremov Committed by Alexey Shabalin

cleanup: Don't use internal rpm macros

parent 0a21bd5c
...@@ -230,7 +230,7 @@ find %buildroot -name \*.in -delete ...@@ -230,7 +230,7 @@ find %buildroot -name \*.in -delete
%post bootloader %post bootloader
[ "$1" -eq 1 ] || exit 0 [ "$1" -eq 1 ] || exit 0
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
%__ln_s -nf %theme/message /boot/splash/message ln -snf %theme/message /boot/splash/message
. /etc/sysconfig/i18n . /etc/sysconfig/i18n
lang=$(echo $LANG | cut -d. -f 1) lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/%theme/ cd boot/splash/%theme/
...@@ -247,7 +247,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high ...@@ -247,7 +247,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%preun bootloader %preun bootloader
[ "$1" -eq 1 ] || exit 0 [ "$1" -eq 1 ] || 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
%post indexhtml %post indexhtml
......
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