mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
39 lines
No EOL
967 B
Text
39 lines
No EOL
967 B
Text
# arg 1: the new package version
|
|
post_install() {
|
|
cat << EOF
|
|
In order to use this module you have to agree to intel's software license:
|
|
usr/share/licenses/intel537/license.txt
|
|
Else please remove the package.
|
|
EOF
|
|
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
KERNEL_VERSION=2.6.30-ARCH
|
|
depmod -v $KERNEL_VERSION > /dev/null 2>&1
|
|
echo
|
|
echo
|
|
echo "==> NOTICE:"
|
|
echo "==> For more information about the use and config of the drivers,"
|
|
echo "==> have a look at http://wiki.archlinux.org/index.php/Intel_53x_Modem_Driver"
|
|
|
|
}
|
|
|
|
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
post_upgrade() {
|
|
rm /etc/hamregistry.bin
|
|
post_install $1
|
|
}
|
|
|
|
# arg 1: the old package version
|
|
post_remove() {
|
|
rm /etc/hamregistry.bin
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
KERNEL_VERSION=2.6.30-ARCH
|
|
depmod -v $KERNEL_VERSION > /dev/null 2>&1
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $* |