lilo: Make hooks less verbose
This commit is contained in:
parent
5af217fb2c
commit
114d6df01b
|
@ -4,12 +4,10 @@
|
|||
#
|
||||
# Arguments passed to this script: $1 pkgname, $2 version.
|
||||
#
|
||||
PKGNAME="$1"
|
||||
VERSION="$2"
|
||||
|
||||
[ -x "$(command -v lilo)" ] || \
|
||||
return 0
|
||||
exit 0
|
||||
|
||||
if [ -e /etc/lilo.conf ]; then
|
||||
lilo
|
||||
elif [ ! -e /etc/lilo.conf ]; then
|
||||
echo "Warning: Not updating LILO. Configuration file wasn't found." 1>&2
|
||||
fi
|
||||
[ -f /etc/lilo.conf ] && lilo
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
#
|
||||
# Arguments passed to this script: $1 pkgname, $2 version.
|
||||
#
|
||||
PKGNAME="$1"
|
||||
VERSION="$2"
|
||||
|
||||
[ -x "$(command -v lilo)" ] || \
|
||||
return 0
|
||||
exit 0
|
||||
|
||||
# Do not abort in case of an error.
|
||||
lilo || true
|
||||
# Do not abort kernel removal on error.
|
||||
[ -f /etc/lilo.conf ] && lilo || true
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lilo'
|
||||
pkgname=lilo
|
||||
version=24.1
|
||||
revision=4
|
||||
revision=5
|
||||
only_for_archs="i686 x86_64"
|
||||
hostmakedepends="bin86"
|
||||
makedepends="device-mapper-devel"
|
||||
|
|
Loading…
Reference in New Issue