aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby/ruby.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-25 22:22:57 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-26 18:41:52 +0100
commit0da839a9643b694ce57840562b7e217d047b9312 (patch)
tree03f745ea7c9f6023896c49218963f44d953b0b83 /main/ruby/ruby.post-upgrade
parent12a9b503b473101f1594e97bc88d4ee85a15538f (diff)
downloadaports-0da839a9643b694ce57840562b7e217d047b9312.tar.bz2
aports-0da839a9643b694ce57840562b7e217d047b9312.tar.xz
main/ruby: add subpackage -full
Diffstat (limited to 'main/ruby/ruby.post-upgrade')
-rw-r--r--main/ruby/ruby.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/ruby/ruby.post-upgrade b/main/ruby/ruby.post-upgrade
new file mode 100644
index 0000000000..6cba787e69
--- /dev/null
+++ b/main/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