diff options
author | Olivier Abad <oabad@noos.fr> | 2000-01-26 07:00:26 +0000 |
---|---|---|
committer | Olivier Abad <oabad@noos.fr> | 2000-01-26 07:00:26 +0000 |
commit | 744ab2224526dac9a480d78f8e4b055c85da6348 (patch) | |
tree | c4abb0f87f1b78f86e32ca7036a7d847addd9b1a /debian/postinst | |
parent | 408eddc7e71b9a6eb299930650b01a661b427f0a (diff) |
Add a debian subdirectory and the files needed to generate a debian package.
The files were created by Frederic Peters <fpeters@debian.org>, the maintainer
of the ethereal debian package.
I just modified `rules' to use autogen.sh when building from a CVS tree.
Building a debian package is now very easy :
- in debian/changelog : change the version number (and replace my name with
yours)
- dpkg-buildpackage -rfakeroot -us -uc
svn path=/trunk/; revision=1569
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000000..1be916fa31 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,16 @@ +#! /bin/sh -e + +if test -e /usr/etc/manuf ; then rm /usr/etc/manuf ; fi + +# Automatically added by dh_installdocs +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/ethereal -a -d /usr/share/doc/ethereal ]; then + ln -sf ../share/doc/ethereal /usr/doc/ethereal + fi +fi +# End automatically added section + +# Automatically added by dh_installmenu +if test -x /usr/bin/update-menus ; then update-menus ; fi +# End automatically added section + |