1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

fix rbenv upgrade

This commit is contained in:
yalh76 2019-10-10 20:44:36 +02:00
parent 3a9bc3df2e
commit 86f9caaaec

View file

@ -77,6 +77,9 @@ ynh_install_ruby () {
# If rbenv is not previously setup, install it # If rbenv is not previously setup, install it
if ! type rbenv > /dev/null 2>&1 if ! type rbenv > /dev/null 2>&1
then
ynh_install_rbenv
elif dpkg --compare-versions "$(/opt/rbenv/bin/rbenv --version | cut -d" " -f2)" lt "1.1.2"
then then
ynh_install_rbenv ynh_install_rbenv
fi fi