source: gutenbach/debian/rm/cups-remove-printer @ 593b5e1

debianmacno-cupsweb
Last change on this file since 593b5e1 was 593b5e1, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Move gutenbach package files into a sub-directory (in order to add gutenbach-client package later)

  • Property mode set to 100755
File size: 280 bytes
Line 
1#!/bin/sh
2
3echo "Removing gutenbach printer..." >&2
4
5if [ -e /usr/lib/gutenbach/config/printername ]; then
6    printername="$(cat /usr/lib/gutenbach/config/printername)"
7
8    lpadmin -x "$printername"
9
10else
11    echo "Error: /usr/lib/gutenbach/config/printername does not exist"
12fi
Note: See TracBrowser for help on using the repository browser.