source: gutenbach/debian/inst/run-checkpc @ c631d1a

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

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

  • Property mode set to 100755
File size: 402 bytes
Line 
1#!/bin/sh -e
2
3# make sure directories exist for checkpc
4echo "Running checkpc..." >&2
5if [ ! -d /var/spool/lpd ]; then
6    mkdir /var/spool/lpd
7    mkdir /var/spool/lpd/%P
8else
9    if [ ! -d /var/spool/lpd/%P ]; then
10        mkdir /var/spool/lpd/%P
11    fi
12fi
13chmod og=rwx /var/spool/lpd
14chmod og=rwx /var/spool/lpd/%P
15
16. /usr/share/debconf/confmodule
17db_get gutenbach/printername
18/usr/sbin/checkpc -P"$RET" -f
Note: See TracBrowser for help on using the repository browser.