1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
post_install() { echo "==> Installing new qwerty-fr keyboard layout" /usr/share/libalpm/scripts/xkb-qwerty-fr.install triggered } pre_remove() { echo "==> Removing current qwerty-fr keyboard layout" /usr/share/libalpm/scripts/xkb-qwerty-fr.uninstall triggered } pre_upgrade() { pre_remove } post_upgrade() { post_install }