## arg 1: the new package version post_install() { # add signing key of home_ungoogled_chromium_Arch mirror curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key --add - holo apply } ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { # add signing key of home_ungoogled_chromium_Arch mirror curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key --add - holo apply } ## arg 1: the old package version post_remove() { holo apply }