summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r--system/s6/s6.post-upgrade8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade
index 0b69f49e7..26d289c27 100644
--- a/system/s6/s6.post-upgrade
+++ b/system/s6/s6.post-upgrade
@@ -1,8 +1,13 @@
#!/bin/sh -e
+newv="$1"
+oldv="$2"
+
rm -f /etc/runlevels/default/s6
-cat <<EOF
+if test `apk version -t "$oldv" 2.8` = "<" ; then
+
+ cat <<EOF
*
* The s6 package has been upgraded. To complete the upgrade, you need to
@@ -16,3 +21,4 @@ cat <<EOF
*
EOF
+fi