Fix uninstall to remove stanza from grub.conf
This commit is contained in:
parent
41d91a7d18
commit
501bcdfff3
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: memtest86+
|
Name: memtest86+
|
||||||
Version: 2.11
|
Version: 2.11
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Stand-alone memory tester for x86 and x86-64 computers
|
Summary: Stand-alone memory tester for x86 and x86-64 computers
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -65,11 +65,11 @@ sed -i 's/\r//' $RPM_BUILD_DIR/%{name}-%{version}/README
|
|||||||
|
|
||||||
%if %{with update_grub}
|
%if %{with update_grub}
|
||||||
%post -p /usr/sbin/memtest-setup
|
%post -p /usr/sbin/memtest-setup
|
||||||
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
sed -i -e's,kernel --type=netbsd /elf-%{name}-%{version},kernel /elf-%{name}-%{version},' /boot/grub/grub.conf
|
sed -i -e's,kernel --type=netbsd /elf-%{name}-%{version},kernel /elf-%{name}-%{version},' /boot/grub/grub.conf
|
||||||
/sbin/new-memtest-pkg --remove %{version}
|
/sbin/new-memtest-pkg --remove %{version}
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -84,6 +84,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 24 2009 Warren Togami <wtogami@redhat.com> - 2.11-9
|
||||||
|
- Fix uninstall to remove stanza from grub.conf
|
||||||
|
|
||||||
* Fri Apr 24 2009 Warren Togami <wtogami@redhat.com> - 2.11-8
|
* Fri Apr 24 2009 Warren Togami <wtogami@redhat.com> - 2.11-8
|
||||||
- Bug #494157 rename elf binary so it doesn't accidentally copy the elf binary
|
- Bug #494157 rename elf binary so it doesn't accidentally copy the elf binary
|
||||||
during livecd-creator
|
during livecd-creator
|
||||||
|
Loading…
Reference in New Issue
Block a user