mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
fix rbenv upgrade
This commit is contained in:
parent
3a9bc3df2e
commit
86f9caaaec
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ ynh_install_ruby () {
|
|||
|
||||
# If rbenv is not previously setup, install it
|
||||
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
|
||||
ynh_install_rbenv
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue