~ubuntu-branches/ubuntu/maverick/base-files/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2010-03-31 14:56:49 UTC
  • Revision ID: james.westby@ubuntu.com-20100331145649-s14tzwqqjwq0tgna
Tags: 5.0.0ubuntu14
Fix double-printing of motd.tail, LP: #550561
* debian/postinst.in: motd.tail should no longer be generated by this
  package; rather it's where the sysadmin would add static text to
  append to the dynamically generated /etc/motd
* debian/update-motd.d/*, debian/rules:
  - move update-motd scripts to this dir, clean up install rules
    (scripts were getting installed in two places)
  - 00-header: add the lsb_release information, which seems at least
    as pertinent as the kernel's version and build-date
  - 00-header, 99-footer: split the header (uname, lsb_release) and
    the footer (admin's motd.tail) to two separate scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        ln -s LGPL-3 debian/tmp/usr/share/common-licenses/LGPL
52
52
        ln -s GPL-3 debian/tmp/usr/share/common-licenses/GPL
53
53
        install -p -m 644 etc/* debian/tmp/etc
54
 
        install -p -m 644 etc/legal debian/tmp/etc
55
 
        install -p -m 755 etc/00-header debian/tmp/etc/update-motd.d
56
 
        install -p -m 755 etc/10-help-text debian/tmp/etc/update-motd.d
 
54
        install -p -m 755 debian/update-motd.d/* debian/tmp/etc/update-motd.d
57
55
        rm -f debian/tmp/etc/motd
58
56
ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
59
57
        rmdir debian/tmp/proc