source: gutenbach/inst/cups-add-printer @ 04f7e05

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

Move debian folder into the root, and move all non-debian code into gutenbach/

  • Property mode set to 100755
File size: 350 bytes
Line 
1#!/bin/sh
2
3if [ -e /usr/lib/gutenbach/config/printername ]; then
4    printername="$(cat /usr/lib/gutenbach/config/printername)"
5    echo "Adding new printer $printername..."
6
7    lpadmin -p "$printername" -E -v gutenbach:/dev/null -D "Gutenbach Music Spooler"
8
9else
10    echo "Error: /usr/lib/gutenbach/config/printername does not exist"
11    exit 1
12fi
Note: See TracBrowser for help on using the repository browser.