1 2 3 4 5 6 7 8 9 10 11 12 13 14
post_upgrade() { post_install $1 } post_install() { echo "The jdk package is licensed software." echo "You MUST read and agree to the license stored in" echo "/opt/java/LICENSE before using it." } op=$1 shift $op $*