Fix pacman search

This commit is contained in:
exu 2024-09-16 21:18:17 +02:00
parent 475c164d78
commit d84bde1d83

View File

@ -368,7 +368,7 @@ echo -e "\033[38;2;20;200;20mFinished updating everything!\033[0m"
echo Launching new shell!
# reminder for enable additional gpu features for corectrl with amd gpus
if [[ $(pacman -Q corectrl) ]]; then
if [[ $(pacman -Q | grep corectrl) ]]; then
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"
fi