~ubuntu-branches/ubuntu/lucid/lpr/lucid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Adam Majer
  • Date: 2008-05-19 21:11:19 UTC
  • Revision ID: james.westby@ubuntu.com-20080519211119-mkch0dpnzwnfr7vz
Tags: 1:2008.05.17
* Change package priority from standard to optional since it was
  already done in the override file
* Add upstream revision file
* Upgrade standards to 3.7.3
* Overwrite logcheck-database provided logcheck file with our own
  version (closes: #418393)
* Added upstream patches
  + lpd/printjob.c [rev. 1.41] - rfc 3834 support: "Auto-Submitted:
  auto-generated" on lots of things; from Tamas TEVESZ
  + Synched to upstream lpr as of 2008-05-17
* Merged logcheck-database rule with the ones provided by lpr.
* Remove old changelog entries for versions before OpenBSD's version
  was used as an upstream.
* Added Vcs- info to control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
done
14
14
 
15
15
# Fix permissions - everything needs to be lp.lp now since lpd drop priv. all over the place
 
16
# We also fix permissions if any file in spool is not owned by lp:lp OR the lead spool
 
17
# diretory does not have 2775 permissions.
16
18
if [ "$2" != ""  ] && dpkg --compare-versions "$2" lt 1:2003.09.23-7; then
17
19
        echo -n "Updating /var/spool/lpd permissions "
18
20
        chmod -f 2775 /var/spool/lpd