1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
_info() { echo "For the first installation / upgrade please run:" echo "第一次安装/升级请运行:" echo "hkmicrochip-jlink-pack" } post_install() { _info } post_upgrade() { _info } post_remove() { echo "deleting the hkmicrochip-jlink-pack ..." find /home -maxdepth 5 -name "hk32" -exec rm -rf {} \; }