Changeset 8045b0a


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

Location:
debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • debian/changelog

    raef31c3 r8045b0a  
     1gutenbach (2.03) unstable; urgency=low
     2
     3  * Update permissions again, to allow everybody to access the server
     4
     5 -- Jessica Hamrick <jhamrick@mit.edu>  Tue, 08 Jun 2010 19:07:09 -0400
     6
    17gutenbach (2.02) unstable; urgency=low
    28
  • 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>
  • debian/rm/cups-revert-perms

    r4ac44b2 r8045b0a  
    1515        echo "$(echo $line | sed s/#GUTENBACH//)" >> "$conffile"
    1616    else
    17         echo "$line" >> "$conffile"
     17        root_location=$(echo "$line" | grep '^Allow from All # added by Gutenbach$' || true)
     18        if [ -z "$root_location" ]; then
     19            echo "$line" >> "$conffile"
     20        fi
    1821    fi
     22
    1923done < "$conffile.bak"
    2024
Note: See TracChangeset for help on using the changeset viewer.