Skip to content

Commit

Permalink
Added search by name support for install and uninstall process
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Nov 26, 2024
1 parent 8ac9d2b commit 6404521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ISM/Option/Software/Install/Install.cr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module ISM
Ism.printNeedSuperUserAccessNotification
else
userRequest = ARGV[2..-1].uniq
Ism.requestedSoftwares = Ism.getRequestedSoftwares(userRequest)
Ism.requestedSoftwares = Ism.getRequestedSoftwares(userRequest, allowSearchByNameOnly: true)

#No match found
if userRequest.size != Ism.requestedSoftwares.size
Expand Down
2 changes: 1 addition & 1 deletion ISM/Option/Software/Uninstall/Uninstall.cr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module ISM
Ism.printNeedSuperUserAccessNotification
else
userRequest = ARGV[2..-1].uniq
Ism.requestedSoftwares = Ism.getRequestedSoftwares(userRequest)
Ism.requestedSoftwares = Ism.getRequestedSoftwares(userRequest, allowSearchByNameOnly: true)

#No match found
if userRequest.size != Ism.requestedSoftwares.size
Expand Down

0 comments on commit 6404521

Please sign in to comment.