Skip to content

Commit

Permalink
Update webdriver de-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Sep 3, 2018
1 parent f6a5039 commit 4b7e0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purge-wrangler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,10 @@ remove_web_drivers() {
if [[ "${INPUT}" == "Y" ]]
then
echo -e "\n${BOLD}Uninstalling drivers...${NORMAL}"
nvram -d nvda_drv
WEBDRIVER_UNINSTALLER="/Library/PreferencePanes/NVIDIA Driver Manager.prefPane/Contents/MacOS/NVIDIA Web Driver Uninstaller.app/Contents/Resources/NVUninstall.pkg"
[[ ! -s "${WEBDRIVER_UNINSTALLER}" ]] && echo -e "Could not find NVIDIA uninstaller.\n" && return
installer -target "/" -pkg "${WEBDRIVER_UNINSTALLER}" 2>&1 1>/dev/null
nvram -d nvda_drv
echo -e "Drivers uninstalled.\nIf in ${BOLD}Single User Mode${NORMAL}, only driver selection changed.\n" && return
fi
[[ "${INPUT}" == "N" ]] && echo && return
Expand Down

0 comments on commit 4b7e0a1

Please sign in to comment.