jobextra/gcr/gcr.install
2022-09-03 21:00:02 +03:00

15 lines
283 B
Plaintext

post_install() {
# Enable socket by default
systemctl --global enable gcr-ssh-agent.socket
}
post_upgrade() {
if (( $(vercmp $2 3.41.0-1) < 0)); then
systemctl --global enable gcr-ssh-agent.socket
fi
}
pre_remove() {
systemctl --global disable gcr-ssh-agent.socket
}