File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,10 @@ may be spun up as another project.
7171
7272=== CHANGELOG ===
7373
74+ v1.2.0: fix package manager interactivity hangups
7475v1.1.2: minor documentation improvement
7576v1.1.1: improved documentation
76- v1.1.0: package manager integration bug fix
77+ v1.1.0: package manager integration bug fix to actually test proposed name
7778v1.0.2: minor doc grammar fix
7879v1.0.1: minor documentation fix
7980v1.0.0: initial implementation
Original file line number Diff line number Diff line change @@ -15,9 +15,14 @@ output_commands_found_in_path(){
1515 for directory in ` echo $PATH | sed ' s/:/ /g' ` ; do
1616 ls -A $directory 2> /dev/null; done ; }
1717
18- output_name_if_known_to_dnf (){ dnf provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
19- output_name_if_known_to_yum (){ yum provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
20- output_name_if_known_to_zypper (){ zypper what-provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
18+ output_name_if_known_to_dnf (){
19+ dnf --assumeno provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
20+
21+ output_name_if_known_to_yum (){
22+ yum --assumeno provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
23+
24+ output_name_if_known_to_zypper (){
25+ zypper --non-interactive what-provides " $1 " > /dev/null 2>&1 && echo " $1 " ; }
2126
2227output_names_for_edit_distance_comparision () {
2328 local -r proposed_name=" $1 "
You can’t perform that action at this time.
0 commit comments