File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1638,13 +1638,13 @@ subcommand_list() {
16381638 # local command_formatted="$(echo $line | sed 's| .*||' | sed 's|\(.*\)\.\(.*\)|[\2] \1|')"
16391639 # local command_formatted=$command
16401640
1641- local command_file =" $( echo $line | sed ' s| .*||' ) "
1641+ local file_command =" $( echo $line | sed ' s| .*||' ) "
16421642
16431643 # Checking if the subcommand is already installed
1644- if [ -f " $dir_commands /$command_file " ]; then
1644+ if [ -f " $dir_commands /$file_command " ]; then
16451645
1646- local command_checksum_known=" $( file_checksum " $dir_commands /$command_file " ) "
1647- local command_checksum_remote=" $( file_checksum $( get_config_value $file_registry $command_file 2) ) "
1646+ local command_checksum_known=" $( file_checksum " $dir_commands /$file_command " ) "
1647+ local command_checksum_remote=" $( file_checksum $( get_config_value $file_registry $file_command 2) ) "
16481648
16491649 if [ " $command_checksum_known " = " $command_checksum_remote " ]; then
16501650 echo " $command_formatted $installed "
@@ -1728,7 +1728,7 @@ subcommand_get() {
17281728 # Refresh list according to sources list (repositories might be commented or removed since last time)
17291729 subcommand_list refresh-only
17301730
1731- local url=" $( get_config_value $file_registry $command ) "
1731+ local url=" $( get_config_value $file_registry $command .sh ) "
17321732 download_file $url $file_command
17331733
17341734 if [ -f " $file_command " ]; then
You can’t perform that action at this time.
0 commit comments