commit
8b4c9a06ef
3 changed files with 10 additions and 10 deletions
|
@ -4,12 +4,10 @@
|
||||||
#
|
#
|
||||||
# Arguments passed to this script: $1 pkgname, $2 version.
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
||||||
#
|
#
|
||||||
|
PKGNAME="$1"
|
||||||
|
VERSION="$2"
|
||||||
|
|
||||||
[ -x "$(command -v lilo)" ] || \
|
[ -x "$(command -v lilo)" ] || \
|
||||||
return 0
|
exit 0
|
||||||
|
|
||||||
if [ -e /etc/lilo.conf ]; then
|
[ -f /etc/lilo.conf ] && lilo
|
||||||
lilo
|
|
||||||
elif [ ! -e /etc/lilo.conf ]; then
|
|
||||||
echo "Warning: Not updating LILO. Configuration file wasn't found." 1>&2
|
|
||||||
fi
|
|
||||||
|
|
|
@ -4,9 +4,11 @@
|
||||||
#
|
#
|
||||||
# Arguments passed to this script: $1 pkgname, $2 version.
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
||||||
#
|
#
|
||||||
|
PKGNAME="$1"
|
||||||
|
VERSION="$2"
|
||||||
|
|
||||||
[ -x "$(command -v lilo)" ] || \
|
[ -x "$(command -v lilo)" ] || \
|
||||||
return 0
|
exit 0
|
||||||
|
|
||||||
# Do not abort in case of an error.
|
# Do not abort kernel removal on error.
|
||||||
lilo || true
|
[ -f /etc/lilo.conf ] && lilo || true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lilo'
|
# Template file for 'lilo'
|
||||||
pkgname=lilo
|
pkgname=lilo
|
||||||
version=24.1
|
version=24.1
|
||||||
revision=4
|
revision=5
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
hostmakedepends="bin86"
|
hostmakedepends="bin86"
|
||||||
makedepends="device-mapper-devel"
|
makedepends="device-mapper-devel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue