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-lpd.conf

    rc061ab8 r331360d  
    1 #!/bin/sh
     1#!/bin/sh -e
    22
     3echo "Editing /etc/lprng/lpd.conf..." >&2
    34# add the printcap path to lpd.conf
    45if [ -e /etc/lprng/lpd.conf ]; then
     
    78
    89    while read line; do
    9         printcap=$(echo "$line" | grep ^printcap_path=)
     10        printcap=$(echo "$line" | grep ^printcap_path= || true)
    1011        if [ -n "$printcap" ]; then
    11             lprngprintcap=$(echo "$line" | grep /etc/lprng/printcap)
    12             printcap=$(echo "$line" | grep /etc/printcap)
     12            lprngprintcap=$(echo "$line" | grep /etc/lprng/printcap || tre)
     13            printcap=$(echo "$line" | grep /etc/printcap || true)
    1314            if [ ! -n "$lprngprintcap" ] && [ ! -n "$printcap" ]; then
    1415                echo "#$line" >> /etc/lprng/lpd.conf
     
    2829
    2930# add lpd_listen_port to lpd.conf
    30 lpd_listen_port=$(cat /etc/lprng/lpd.conf | grep ^lpd_listen_port=515)
     31lpd_listen_port=$(cat /etc/lprng/lpd.conf | grep ^lpd_listen_port=515 || true)
    3132if [ ! -n "$lpd_listen_port" ]; then
    3233    echo "lpd_listen_port=515" >> /etc/lprng/lpd.conf
Note: See TracChangeset for help on using the changeset viewer.