# arg 1:  the new package version
post_install() {
  # updating module dependencies
  echo ">>> Updating module dependencies. Please wait ..."
  KERNEL_VERSION=2.6.20-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/Ltmodem_drivers"
}

# 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.20-ARCH
  depmod -v $KERNEL_VERSION > /dev/null 2>&1
}
op=$1
shift
$op $* 