This commit is contained in:
Stephan Raabe 2024-02-23 11:39:55 +01:00
parent 7da7e49d9e
commit ff2c592c8d

View File

@ -25,7 +25,7 @@ _isInstalledPacman() {
_isInstalledYay() {
package="$1";
check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";
check="$(yay -Qs --color always "${package}" | grep "local" | grep "\." | grep "${package} ")";
if [ -n "${check}" ] ; then
echo 0; #'0' means 'true' in Bash
return; #true