debianmacno-cupsweb
Last change
on this file since eafb5c5 was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100755
|
File size:
280 bytes
|
Rev | Line | |
---|
[4efd348] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | echo "Removing gutenbach printer..." >&2 |
---|
| 4 | |
---|
| 5 | if [ -e /usr/lib/gutenbach/config/printername ]; then |
---|
| 6 | printername="$(cat /usr/lib/gutenbach/config/printername)" |
---|
| 7 | |
---|
| 8 | lpadmin -x "$printername" |
---|
| 9 | |
---|
| 10 | else |
---|
| 11 | echo "Error: /usr/lib/gutenbach/config/printername does not exist" |
---|
| 12 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.