source: sipbmp3/debian/inst/run-checkpc @ 331360d

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

Added debconf implementation and clean uninstall, but the actual functionality of sipbmp3 seems to be broken - it will send a zephyr and say it's playing the song, and then say "playback completed sucessfully", but both zephyrs come at the ~same time and there is no sound output.

  • Property mode set to 100755
File size: 400 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 sipbmp3/printername
18/usr/sbin/checkpc -P"$RET" -f
Note: See TracBrowser for help on using the repository browser.