cleanup: Don't use internal rpm macros
This commit is contained in:
parent
0a21bd5c85
commit
29fcd0b3a9
@ -230,7 +230,7 @@ find %buildroot -name \*.in -delete
|
||||
%post bootloader
|
||||
[ "$1" -eq 1 ] || exit 0
|
||||
%ifarch %ix86 x86_64
|
||||
%__ln_s -nf %theme/message /boot/splash/message
|
||||
ln -snf %theme/message /boot/splash/message
|
||||
. /etc/sysconfig/i18n
|
||||
lang=$(echo $LANG | cut -d. -f 1)
|
||||
cd boot/splash/%theme/
|
||||
@ -247,7 +247,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
|
||||
%preun bootloader
|
||||
[ "$1" -eq 1 ] || exit 0
|
||||
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
|
||||
%__rm -f /boot/splash/message
|
||||
%rm -f /boot/splash/message
|
||||
%endif
|
||||
|
||||
%post indexhtml
|
||||
|
Loading…
x
Reference in New Issue
Block a user