Fix uninstall to remove stanza from grub.conf

This commit is contained in:
Warren Togami 2009-04-24 19:12:27 +00:00
parent 41d91a7d18
commit 501bcdfff3

View File

@ -7,7 +7,7 @@
Name: memtest86+
Version: 2.11
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2
Summary: Stand-alone memory tester for x86 and x86-64 computers
Group: System Environment/Base
@ -65,11 +65,11 @@ sed -i 's/\r//' $RPM_BUILD_DIR/%{name}-%{version}/README
%if %{with update_grub}
%post -p /usr/sbin/memtest-setup
%endif
%preun
sed -i -e's,kernel --type=netbsd /elf-%{name}-%{version},kernel /elf-%{name}-%{version},' /boot/grub/grub.conf
/sbin/new-memtest-pkg --remove %{version}
%endif
%clean
rm -rf %{buildroot}
@ -84,6 +84,9 @@ rm -rf %{buildroot}
%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
- Bug #494157 rename elf binary so it doesn't accidentally copy the elf binary
during livecd-creator