Ignore:
Timestamp:
Jun 24, 2010, 1:48:08 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, nodebathena, web
Children:
1e04f22
Parents:
c6f9cbe
git-author:
Jessica B. Hamrick <jhamrick@…> (05/13/10 17:30:51)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/24/10 01:48:08)
Message:
  • More useful things in the README
  • Change perms to listen from everywhere
  • Conflict with pulseaudio, recommend removing bluez-alsa
File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/inst/cups-set-perms

    r5bb5b34 r4ac44b2  
    77    printername="$(cat /usr/lib/gutenbach/config/printername)"
    88
    9     cat >> /etc/cups/cupsd.conf <<EOF
     9    conffile="/etc/cups/cupsd.conf"
     10    mv "$conffile" "$conffile.bak"
     11    touch "$conffile"
     12
     13    while read line; do
     14        listen_localhost=$(echo "$line" | grep '^Listen localhost' || true)
     15        if [ -n "$listen_localhost" ]; then
     16            echo "#GUTENBACH$line" >> "$conffile"
     17        else
     18            echo "$line" >> "$conffile"
     19        fi
     20    done < "$conffile.bak"
     21    rm "$conffile.bak"
     22
     23    cat >> "$conffile" <<EOF
    1024# Begin configurations for gutenbach
    1125
     
    1630
    1731Group audio
     32Listen *
    1833
    1934# End configurations for gutenbach
Note: See TracChangeset for help on using the changeset viewer.