Changeset 8045b0a for debian/inst/cups-set-perms
- Timestamp:
- Jun 24, 2010, 1:48:09 AM (15 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- da77fe6
- Parents:
- aef31c3
- git-author:
- Jessica B. Hamrick <jhamrick@…> (06/08/10 19:07:25)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (06/24/10 01:48:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/inst/cups-set-perms
raef31c3 r8045b0a 16 16 echo "#GUTENBACH$line" >> "$conffile" 17 17 else 18 echo "$line" >> "$conffile" 18 root_location=$(echo "$line" | grep '^<Location />$' || true) 19 if [ -n "$root_location" ]; then 20 echo "<Location />" >> "$conffile" 21 echo "Allow from All # added by Gutenbach" >> "$conffile" 22 else 23 echo "$line" >> "$conffile" 24 fi 19 25 fi 26 20 27 done < "$conffile.bak" 21 28 rm "$conffile.bak" … … 26 33 Group audio 27 34 Listen * 35 ServerAlias * 28 36 29 37 <Location /printers/$printername>
Note: See TracChangeset
for help on using the changeset viewer.