summaryrefslogtreecommitdiff
path: root/system/ruby/ruby.post-upgrade
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-24 03:07:52 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-24 03:07:52 -0500
commit965d80ca4ac1c981343de938f066f5c6627a716a (patch)
treeeb2f89411cd5a5042e930d86871fa7dda84c833f /system/ruby/ruby.post-upgrade
parentb34e6fe698af4901a2a662cc0ce671afa755e121 (diff)
downloadpackages-965d80ca4ac1c981343de938f066f5c6627a716a.tar.gz
packages-965d80ca4ac1c981343de938f066f5c6627a716a.tar.bz2
packages-965d80ca4ac1c981343de938f066f5c6627a716a.tar.xz
packages-965d80ca4ac1c981343de938f066f5c6627a716a.zip
system/ruby: pull in for asciidoctor
Diffstat (limited to 'system/ruby/ruby.post-upgrade')
-rw-r--r--system/ruby/ruby.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/ruby/ruby.post-upgrade b/system/ruby/ruby.post-upgrade
new file mode 100644
index 000000000..6cba787e6
--- /dev/null
+++ b/system/ruby/ruby.post-upgrade
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "2.5.0-r0")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * In Ruby 2.5 more parts of the stdlib has been splitted into standalone
+ * gems, yet still installed with Ruby by default. We have moved some of
+ * them into separate subpackages. If you don't know which subpackages you
+ * need, you may install meta-package "ruby-full".
+ *
+ EOF
+fi
+
+exit 0