OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 |
| 3 # Change working directory to the one in which the script is located. |
| 4 DIR="$( cd "$( dirname "$0" )" && pwd )" |
| 5 cd $DIR |
| 6 |
| 7 # Uninstall the printer from CUPS |
| 8 lpadmin -x Google-Cloud-Print-$USER |
| 9 |
| 10 # Run the uninstall File to deregister from service process. |
| 11 ./GCP-uninstall |
| 12 |
| 13 # Kill CUPS, delete the backend, restart CUPS |
| 14 launchctl stop org.cups.cupsd |
| 15 rm /usr/libexec/cups/backend/GCP-driver |
| 16 launchctl start org.cups.cupsd |
| 17 |
| 18 pkgutil --forget com.google.CloudPrint.VirtualDriver |
| 19 pkgutil --forget com.google.googleCloudPrintVirtualDriver.Scripts.pkg |
OLD | NEW |