Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kernelbump.git;a=commitdiff;h=a3d3b17459b6d08fcd8a332604c678a8b2d22242
commit a3d3b17459b6d08fcd8a332604c678a8b2d22242 Author: DeX77 <[email protected]> Date: Mon Sep 21 10:36:45 2015 +0200 grub2-2.00-15-x86_64 * fix grub2.install diff --git a/source/base/grub2/FrugalBuild b/source/base/grub2/FrugalBuild index fdfcfb2..88c8c03 100644 --- a/source/base/grub2/FrugalBuild +++ b/source/base/grub2/FrugalBuild @@ -4,7 +4,7 @@ pkgname=grub2 _F_archive_name=grub pkgver=2.00 -pkgrel=14 +pkgrel=15 pkgdesc="The GNU GRand Unified Bootloader" url="http://www.gnu.org/software/grub/" rodepends=('grub-theme-frugalware' 'scriptlet-core') diff --git a/source/base/grub2/grub2.install b/source/base/grub2/grub2.install index 076a07a..c6a4a6e 100644 --- a/source/base/grub2/grub2.install +++ b/source/base/grub2/grub2.install @@ -11,7 +11,7 @@ post_install() post_upgrade() { echo "Updating kernel cmdline to include audit=0" - if [ grep -v -q audit /etc/default/grub ] + if [ ! $(grep -q audit /etc/default/grub) ]; then sed -i 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="audit=0 /' /etc/default/grub sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="/GRUB_CMDLINE_LINUX_DEFAULT="audit=0 /' /etc/default/grub /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
