diff options
author | vg <vgm+dev@devys.org> | 2024-03-29 11:16:52 +0100 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2024-03-29 11:16:52 +0100 |
commit | 8eae1aca826e08d953a43978bae554f20d07897a (patch) | |
tree | bcbb8a580d5b29f35bb90d6ef1a05d80aed67e66 /debian/fetchmail.preinst | |
parent | 9f542a1e74323a7247a19de9d7349a7269c63002 (diff) | |
download | fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.gz fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.bz2 fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.zip |
get debian directory from debian archive
Diffstat (limited to 'debian/fetchmail.preinst')
-rw-r--r-- | debian/fetchmail.preinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/fetchmail.preinst b/debian/fetchmail.preinst new file mode 100644 index 00000000..96550390 --- /dev/null +++ b/debian/fetchmail.preinst @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Preinst script for fetchmail +# $Id: fetchmail.preinst 486 2008-12-22 15:13:12Z nion $ +# + +set -e + +# Remove a possibly fucked ip-up.d, which was unfortunately not +# removed due of being a conffile. This is ugly but the only "clean" +# way I see right now. +if [ -f /etc/network/if-up.d/fetchmail ] && [ "$2" = "6.2.4-3" ]; then + rm -f /etc/network/if-up.d/fetchmail +fi + +#DEBHELPER# + +exit 0 |