mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-24 01:16:05 +01:00
22 lines
583 B
Plaintext
22 lines
583 B
Plaintext
## 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
|
|
}
|