source: gutenbach/debian/inst/create-filter-config @ c631d1a

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

Changed 'sipbmp3' to 'gutenbach' by popular demand. Have not checked for errors, yet.

  • Property mode set to 100755
File size: 691 bytes
Line 
1#!/bin/sh -e
2
3. /usr/share/debconf/confmodule
4
5if [ ! -d /usr/lib/gutenbach/config ]; then
6    mkdir /usr/lib/gutenbach/config
7fi
8
9echo "Creating /usr/lib/gutenbach/config/gutenbach-filter-config.pl..." >&2
10if [ ! -e "/usr/lib/gutenbach/config/gutenbach-filter-config.pl" ]; then
11    touch /usr/lib/gutenbach/config/gutenbach-filter-config.pl
12
13    db_get gutenbach/zephyrclass
14    echo "\$zephyr_class = \"$RET\";" >> /usr/lib/gutenbach/config/gutenbach-filter-config.pl
15    echo "\$hostname = \""`hostname`"\";" >> /usr/lib/gutenbach/config/gutenbach-filter-config.pl
16    db_get gutenbach/printername
17    echo "\$queue = \"$RET\";" >> /usr/lib/gutenbach/config/gutenbach-filter-config.pl
18fi
Note: See TracBrowser for help on using the repository browser.