excalibur1234 / pacui

Bash script providing advanced Pacman and Yay/Pikaur/Aurman/Pakku/Trizen/Pacaur/Pamac-cli functionality in a simple UI
GNU General Public License v3.0
168 stars 13 forks source link

Fix argument_flag for yay #58 #59

Closed freed00m closed 3 years ago

freed00m commented 3 years ago

When $argument_flag starts with dashes it get's interpreted inside (substrings?) the if statement and dashes are removed.

It's probably problem in all of the switch statements but I've only tested it for YAY. Without the quotes it can do even multiple arguments as the escaping was done earlier.

Fix for https://github.com/excalibur1234/pacui/issues/58

excalibur1234 commented 3 years ago

before merging this PR, a rebase is required.

i did not want to wait for this. i made your changes manually and merged them here: bf24fcb2e0082e70d1aeefa9af3c7ded70e6d2d8.