Ignore:
Timestamp:
Sep 17, 2009, 2:55:47 AM (15 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, nodebathena, web
Children:
c631d1a
Parents:
c061ab8
git-author:
Jessica B. Hamrick <jhamrick@…> (09/17/09 02:55:47)
git-committer:
Jessica B. Hamrick <jhamrick@…> (09/17/09 02:55:47)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sipbmp3/debian/inst/edit-printcap

    rc061ab8 r331360d  
    1 #!/bin/sh
     1#!/bin/sh -e
    22
     3echo "Editing /etc/printcap..." >&2
    34if [ ! -e /etc/printcap ]; then
    45    touch /etc/printcap
     
    910fi
    1011
    11 printcap=$(cat /etc/printcap | grep '^lprmp3')
     12. /usr/share/debconf/confmodule
     13db_get sipbmp3/printername
     14
     15printcap=$(cat /etc/printcap | grep ^`echo $RET` || true)
    1216if [ ! -n "$printcap" ]; then
    1317    # add the appropriate entry into /etc/printcap, /etc/lprng/printcap
    14     echo "lprmp3" >> /etc/printcap
     18    echo "$RET" >> /etc/printcap
    1519    echo "  :server" >> /etc/printcap
    16     echo "  :cm=lprmp3 music spooler" >> /etc/printcap
     20    echo "  :cm=$RET music spooler" >> /etc/printcap
    1721    echo "  :lp=/dev/null" >> /etc/printcap
    1822    echo "  :if=|/usr/lib/sipbmp3/sipbmp3-filter" >> /etc/printcap
    19     echo "  :sd=/var/spool/lpd/lprmp3" >> /etc/printcap
     23    echo "  :sd=/var/spool/lpd/$RET" >> /etc/printcap
    2024    echo "  :ml=0:mx=0:sh:sf" >> /etc/printcap
    2125    echo "  :create_files" >> /etc/printcap
Note: See TracChangeset for help on using the changeset viewer.