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

Update ynh_install_ruby__2

This commit is contained in:
yalh76 2021-03-07 18:44:44 +01:00
parent 560506c3e7
commit 0fbd6a19a1

View file

@ -163,9 +163,6 @@ ynh_install_ruby () {
then
ynh_install_rbenv
elif dpkg --compare-versions "$($rbenv_install_dir/plugins/ruby-build/bin/ruby-build --version | cut -d" " -f2)" lt $ruby_build_version
then
ynh_install_rbenv
elif dpkg --compare-versions "$($rbenv_install_dir/plugins/rbenv-aliases/bin/rbenv-aliases --version | cut -d" " -f2)" lt $rbenv_aliases_version
then
ynh_install_rbenv
fi
@ -266,4 +263,4 @@ ynh_cleanup_ruby () {
ynh_secure_remove --file="$rbenv_install_dir"
rm /etc/profile.d/rbenv.sh
fi
}
}