Changeset 8045b0a for debian/rm


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/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.