arch/pkg/de-p1st-pacman-repo-surface/.install

22 lines
583 B
Plaintext
Raw Permalink Normal View History

## arg 1: the new package version
post_install() {
# add signing key of linux-surface mirror
curl -s 'https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc' | sudo pacman-key --add -
holo apply
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
# add signing key of linux-surface mirror
curl -s 'https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc' | sudo pacman-key --add -
holo apply
}
## arg 1: the old package version
post_remove() {
holo apply
}