mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
16 lines
322 B
Text
16 lines
322 B
Text
|
# arg 1: the new package version
|
||
|
post_install() {
|
||
|
[ -f var/state/dhcp/dhcpd.leases ] || : >var/state/dhcp/dhcpd.leases
|
||
|
echo "If dhcpd doesn' start ensure the ipv6 kernel module is loaded."
|
||
|
}
|
||
|
|
||
|
# arg 1: the new package version
|
||
|
# arg 2: the old package version
|
||
|
post_upgrade() {
|
||
|
post_install $1
|
||
|
}
|
||
|
|
||
|
op=$1
|
||
|
shift
|
||
|
$op $*
|