blob: f912540844ce6988fd0d82142ff42f1dc13d5d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
if [ "$(vercmp $2 1.9.3_p125)" -lt 0 ]; then
echo 'The default location of gem installs has changed to $HOME/.gem/ruby'
echo 'If you want to install to the system wide location, you must either:'
echo 'edit /etc/gemrc or run gem with the --no-user-install flag.'
fi
}
|