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:
parent
560506c3e7
commit
0fbd6a19a1
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue