Skip to content

Commit a3843bf

Browse files
committed
fix patch not applying properly on cachyos
1 parent 4c57e6b commit a3843bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ patch_mesa () {
3737

3838
GPU=$(lspci | grep -i '.* vga .* nvidia .*')
3939
shopt -s nocasematch
40-
if [ "$SHELL" = "$(which fish)" ] || [ "$FISH_VERSION" ]; then
40+
if command -v fish &>/dev/null; then
4141
if [[ $GPU == *' nvidia '* ]]; then
4242
set -x --universal __GL_SHADER_DISK_CACHE_SIZE '12000000000'
4343
echo "$SUCCESS"

0 commit comments

Comments
 (0)