Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: cloud_print/virtual_driver/posix/mac_packaging/uninstall.sh

Issue 7599018: Code to package Cloud Print Linux and Mac virtual drivers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Moved build scripts to seperate CL to facilitate try server usage Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 killall cupsd
Scott Byer 2011/08/17 20:51:36 Use launchctl here as well.
abeera 2011/08/18 16:36:25 Done.
15 rm /usr/libexec/cups/backend/GCP-driver
16 cupsd
Scott Byer 2011/08/17 20:51:36 and here too
abeera 2011/08/18 16:36:25 Done.
17
18 pkgutil --forget com.google.CloudPrint.VirtualDriver
19 pkgutil --forget com.google.googleCloudPrintVirtualDriver.Scripts.pkg
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698