diff options
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/preinst-udev | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/preinst-udev b/autoscripts/preinst-udev index 9d90a355..2b6ede30 100644 --- a/autoscripts/preinst-udev +++ b/autoscripts/preinst-udev @@ -1,7 +1,7 @@ if [ "$1" = install ] || [ "$1" = upgrade ]; then if [ -e "#OLD#" ]; then if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \ - "`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' #OLD#'{s/.* //;p}}\" /var/lib/dpkg/status`" ] + "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD#'s/.* //p\"`" ] then rm -f "#OLD#" fi |