mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
No EOL
726 B
Text
29 lines
No EOL
726 B
Text
# arg 1: the new package version
|
|
post_install() {
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
KERNEL_VERSION=2.6.17-beyond
|
|
depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
|
|
}
|
|
echo
|
|
echo
|
|
echo "==> NOTICE:"
|
|
echo "==> To load driver at startup, add 'martian_dev' to the MODULES array "
|
|
echo "==> and 'martian' to the DAEMONS array in /etc/rc.conf"
|
|
|
|
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
post_remove() {
|
|
post_install $1
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
KERNEL_VERSION=2.6.17-beyond
|
|
depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
|
|
}
|
|
op=$1
|
|
shift
|
|
$op $* |