void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

lilo.post-remove (246B)


      1#!/bin/sh
      2#
      3# Kernel hook for LILO.
      4#
      5# Arguments passed to this script: $1 pkgname, $2 version.
      6#
      7PKGNAME="$1"
      8VERSION="$2"
      9
     10[ -x "$(command -v lilo)" ] || \
     11	exit 0
     12
     13# Do not abort kernel removal on error.
     14[ -f /etc/lilo.conf ] && lilo || true