From ee91363e6620c0bdc9dcb31c02266905fca09b49 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 20:30:57 +0200 Subject: Adding debian version 1:3.11.1-1. Signed-off-by: Daniel Baumann --- debian/pciutils.preinst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/pciutils.preinst (limited to 'debian/pciutils.preinst') diff --git a/debian/pciutils.preinst b/debian/pciutils.preinst new file mode 100644 index 0000000..c72f2b5 --- /dev/null +++ b/debian/pciutils.preinst @@ -0,0 +1,23 @@ +#!/bin/sh +# preinst script for pciutils + +set -e + +case "$1" in +install|upgrade) + for ext in new neww old + do + rm -f $DPKG_ROOT/var/lib/pciutils/pci.ids.$ext + done + ;; +abort-upgrade) + ;; +*) + echo "preinst called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3