Ignore:
Timestamp:
Sep 17, 2009, 2:55:47 AM (16 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/sipbmp3.postinst

    rc061ab8 r331360d  
    1818# the debian-policy package
    1919
     20. /usr/share/debconf/confmodule
    2021
    2122case "$1" in
    22     configure)
     23    configure|reconfigure)
     24        chmod +x /usr/lib/sipbmp3/inst/create-filter-config
    2325        chmod +x /usr/lib/sipbmp3/inst/edit-printcap
    2426        chmod +x /usr/lib/sipbmp3/inst/edit-lpd.conf
    2527        chmod +x /usr/lib/sipbmp3/inst/run-checkpc
    2628        chmod +x /usr/lib/sipbmp3/inst/edit-lpd.perms
     29        /usr/lib/sipbmp3/inst/create-filter-config
    2730        /usr/lib/sipbmp3/inst/edit-printcap
    2831        /usr/lib/sipbmp3/inst/edit-lpd.conf
     
    3033        /usr/lib/sipbmp3/inst/edit-lpd.perms
    3134
    32         adduser daemon audio
     35        if [ -e /usr/lib/sipbmp3/config/printer_name ]; then
     36            rm /usr/lib/sipbmp3/config/printer_name
     37        fi
     38
     39        if [ -e /usr/lib/sipbmp3/config/zephyr_class ]; then
     40            rm /usr/lib/sipbmp3/config/zephyr_class
     41        fi
     42
     43        inaudio=$(groups daemon | grep audio || true)
     44        if [ -z "$inaudio" ]; then
     45            adduser daemon audio
     46        fi
     47
     48        db_stop
    3349    ;;
    3450
Note: See TracChangeset for help on using the changeset viewer.