summaryrefslogtreecommitdiff
path: root/system/ruby/ruby.post-upgrade
blob: 6cba787e69eadf03a2e10c0b6002183e224e04c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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