func_update() { cat << EOF Update plasmoids... EOF kbuildsycoca4 > /dev/null 2>&1 } post_install() { func_update cat << EOF Make sure that \`hddtemp\` can be run as non-root EOF } post_upgrade() { func_update } post_remove() { func_update }