summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-06-07 16:05:20 +0000
committerZach van Rijn <me@zv.io>2024-06-07 16:05:20 +0000
commit69efa625f7faaaa10c65a78596e2c0df249a1b86 (patch)
treece90ee87f93d2513a7114ab378612836afeebb15 /system/s6/s6.post-upgrade
parentfbea575a49e483e5e124f1b0767730accc97227f (diff)
downloadpackages-69efa625f7faaaa10c65a78596e2c0df249a1b86.tar.gz
packages-69efa625f7faaaa10c65a78596e2c0df249a1b86.tar.bz2
packages-69efa625f7faaaa10c65a78596e2c0df249a1b86.tar.xz
packages-69efa625f7faaaa10c65a78596e2c0df249a1b86.zip
Skaware.20240531
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r--system/s6/s6.post-upgrade13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade
index 54144895b..91459ad9f 100644
--- a/system/s6/s6.post-upgrade
+++ b/system/s6/s6.post-upgrade
@@ -1,3 +1,16 @@
#!/bin/sh -e
rm -f /etc/runlevels/default/s6
+
+vnew="$1"
+vold="$2"
+
+if test `apk version -t $vnew 2.13` != '<' && test `apk version -t $vold 2.13` = '<' ; then
+ echo
+ echo '***'
+ echo 'The s6 package has undergone an ABI change.'
+ echo 'Please reboot at your earliest convenience. Commands such as s6-svstat'
+ echo 'may not work until you do so.'
+ echo '***'
+ echo
+fi