Public feed #1283627

ArchLinux Package .install for C

public text v1 · immutable
Raw Edit
·published 2008-12-12 15:34 UTC
rendered paste body
post_install() {
post_upgrade
}

post_upgrade() {
echo "ATTENTION CISCO-VPNCLIENT:"
echo "----------"
echo "This package provides the cisco_ipsec kernel module which it requires to run."
echo "Make sure you add this module to the MODULES array in rc.conf."
echo "The vpnclient binary requires root privileges, thus if you want to use it"
echo "as another user you can run it through sudo."
echo "----------"
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.27-ARCH
depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
}

post_remove() {
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.27-ARCH
depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
}

op=$1
shift
$op $*