~ubuntu-branches/ubuntu/edgy/sysnews/edgy

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2003-02-23 19:10:20 UTC
  • Revision ID: james.westby@ubuntu.com-20030223191020-2w1i4xkpssyma2qo
Tags: 0.9-12
Ignore directories in /var/lib/sysnews to allow for keeping it in
cvs/rcs. Closes: #182135

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# just check to see if it's there, because dpkg will delete it, as an
13
13
# unchanged removed conffile, before the ponstinst runs. Thus this gross
14
14
# hack. Note that I use a directory because that can be created safely w/o
15
 
# sysmlink attacks. Adding a file to /var/news/ makes dpkg omit puzzling
 
15
# sysmlink attacks. Adding a file to /var/news/ makes dpkg emit puzzling
16
16
# messages, which is why I don't do that.
17
17
if [ -d /var/news -a ! -e /var/news/WELCOME ] && dpkg --compare-versions 0.9-8 gt "$2"; then
18
18
        mkdir /var/tmp/.sysnews_WELCOME_deleted