source: pkg/boss/main/base-files/trunk/debian/preinst.in @ 4461

Revision 1901, 544 bytes checked in by alanbach-guest, 7 years ago (diff)

Updated base-files to debian, 4.0.1

Line 
1#!/bin/sh
2set -e
3if dpkg --compare-versions "$2" lt-nl "2.1.6"; then
4  if [ -d /floppy ]; then
5    touch /etc/base-files.create-floppy
6  fi
7  if [ -d /cdrom ]; then
8    touch /etc/base-files.create-cdrom
9  fi
10  if [ -d /initrd ]; then
11    touch /etc/base-files.create-initrd
12  fi
13fi
14if dpkg --compare-versions "$2" lt-nl "2.1.16"; then
15  if [ -L /var/spool/mail ]; then
16    find /var/spool/mail -printf "%l\n" > /etc/base-files.mailsymlink
17  fi
18fi
19if dpkg --compare-versions "$2" lt-nl "2.2.6"; then
20  echo "#VERSION#" > /etc/debian_version
21fi
Note: See TracBrowser for help on using the repository browser.