mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Write version and hash to .versions file
This commit is contained in:
parent
6c621b38a1
commit
87b548a46d
@ -21,6 +21,12 @@ install_command() {
|
||||
|
||||
local install_path=$(get_install_path $package $version)
|
||||
${source_path}/install $version $install_path "${@:3}"
|
||||
if [ $? -e 0 ]
|
||||
then
|
||||
echo "$version $(basename $install_path)" >> $(dirname $install_path)/.versions
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user