archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / kubernetes / trunk / kubeadm.install
blob933f508056f9fd5fb9ac343f6d5a0f00c2f2bb4f
1 # arg 1:  the new package version
2 post_install() {
3   printf "Switch on IP forwarding: sysctl net.ipv4.ip_forward=1\n"
6 ## arg 1:  the new package version
7 ## arg 2:  the old package version
8 post_upgrade() {
9   local _changelog_121="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md#no-really-you-must-read-this-before-you-upgrade"
10   if [[ "$(vercmp "$2" "1.21.0-1")" -lt 0 ]]; then
11     printf "WARNING: Read important changelog notice:\n"
12     printf "         %s\n" "${_changelog_121}"
13   fi