Package: sabre Version: 0.2.4b-25 Severity: normal Tags: patch The postinst script will fail if there's already an existing stat-override. Since the if statement checks to see if there is an existing stat-override, when it's true, it should use --force to make the new override. The patch I made seems to work just fine. I hope it works for you too.
-- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages sabre depends on: ii dialog 1.1-20080819-1 Displays user-friendly dialog boxe ii libc6 2.7-14 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1 GCC support library ii libncurses5 5.6+20081004-1 shared libraries for terminal hand ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3 ii libsvga1 1:1.4.3-27 console SVGA display libraries ii sabre-common 0.2.4b-25 data for the SABRE fighter plane s sabre recommends no packages. Versions of packages sabre suggests: ii xsabre 0.2.4b-25 fighter plane simulator for X11 -- no debconf information -- Thanks: Joseph Rawson
--- DEBIAN/postinst 2008-10-05 04:33:39.000000000 -0500
+++ sabre.postinst 2008-10-11 17:25:00.000000000 -0500
@@ -9,7 +9,7 @@
else
if dpkg --compare-versions "$2" le-nl 0.2.4b-24; then
if [ "$(dpkg-statoverride --list /usr/games/sabre)" = "root root 2755 /usr/games/sabre" ]; then
- dpkg-statoverride --update --add root root 1755 /usr/games/sabre
+ dpkg-statoverride --force --update --add root root 1755 /usr/games/sabre
fi
fi
fi
signature.asc
Description: This is a digitally signed message part.

