Changeset 4ac44b2 for debian/inst/cups-set-perms
- Timestamp:
- Jun 24, 2010, 1:48:08 AM (14 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/inst/cups-set-perms
r5bb5b34 r4ac44b2 7 7 printername="$(cat /usr/lib/gutenbach/config/printername)" 8 8 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 10 24 # Begin configurations for gutenbach 11 25 … … 16 30 17 31 Group audio 32 Listen * 18 33 19 34 # End configurations for gutenbach
Note: See TracChangeset
for help on using the changeset viewer.