Update
This commit is contained in:
parent
7da7e49d9e
commit
ff2c592c8d
|
@ -25,7 +25,7 @@ _isInstalledPacman() {
|
||||||
|
|
||||||
_isInstalledYay() {
|
_isInstalledYay() {
|
||||||
package="$1";
|
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
|
if [ -n "${check}" ] ; then
|
||||||
echo 0; #'0' means 'true' in Bash
|
echo 0; #'0' means 'true' in Bash
|
||||||
return; #true
|
return; #true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user