Ignore:
Timestamp:
Jun 24, 2010, 1:48:09 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
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)
Message:

Updated permissions to allow everybody to access the server

File:
1 edited

Legend:

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

    raef31c3 r8045b0a  
    1616            echo "#GUTENBACH$line" >> "$conffile"
    1717        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
    1925        fi
     26
    2027    done < "$conffile.bak"
    2128    rm "$conffile.bak"
     
    2633Group audio
    2734Listen *
     35ServerAlias *
    2836
    2937<Location /printers/$printername>
Note: See TracChangeset for help on using the changeset viewer.