Skip to content

Commit

Permalink
add another check for broken PiKiss installed vulkan driver hook
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Mar 27, 2024
1 parent 6e904e0 commit ad88297
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -2238,6 +2238,16 @@ Try removing it with this command:
sudo rm -f /etc/apt/apt.conf.d/99reinstall-vulkan-driver-hook")
error_type="package"
fi

if grep -qF "Reinstalling Vulkan driver" <<<"$errors" ;then
if grep -qF "sh: 1: Syntax error: Unterminated quoted string" <<<"$errors" ;then
error_caption+=("PiKiss has installed a broken custom vulkan reinstallation apt hook. As a result, dpkg and APT won't work properly.
Try removing it with this command:
sudo rm -f /etc/apt/apt.conf.d/99reinstall-vulkan-driver-hook")
error_type="package"
fi
fi

if grep -qF "error processing package dphys-swapfile" <<<"$errors" ;then
error_caption+=("Before dpkg, apt, or Pi-Apps will work, dphys-swapfile must be fixed.
Expand Down

0 comments on commit ad88297

Please sign in to comment.