Package: f-prot-installer
Version: 0.5.19
Followup-For: Bug #335037

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

reopen 335037 !
thanks

Hi,

I have made a patch to fix the f-prot installer for now.

Additionally I have fixed the Option for forced Reinstallation. It never
worked.

Patch attached.

Thanks
Philipp

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages f-prot-installer depends on:
ii  debconf [debconf-2.0]         1.4.65     Debian configuration management sy
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  libwww-perl                   5.803-4    WWW client/server library for Perl
ii  unzip                         5.52-6     De-archiver for .zip files
ii  wget                          1.10.2-1   retrieves files from the web

f-prot-installer recommends no packages.

- -- debconf information:
* f-prot-installer/action: Download and install
* f-prot-installer/configured: false
  f-prot-installer/note_cron:
  f-prot-installer/where_are_files: /tmp
* f-prot-installer/reinstall: true
* f-prot-installer/failed:
* f-prot-installer/update_defs: true
  f-prot-installer/install_later:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDrPksb3w5kbZgJjQRAmBxAJ0bp0iMc7fYuDhNa0hj66LOKhhLWwCg8ouf
VaQh7u+qS+fSmi5vIwpLTH8=
=wIB7
-----END PGP SIGNATURE-----
--- update-f-prot_old   2005-10-23 18:18:17.000000000 +0200
+++ update-f-prot       2005-12-24 08:18:57.000000000 +0100
@@ -239,7 +239,7 @@
       echo Patching $f ...
        sed \
            -e "s,^my \$signatureDirectory = .*,my \$signatureDirectory = 
\'/var/lib/f-prot/\';,g" \
-           -e "/or die..Couldn.t determine signature file directory/d" \
+           -e "/or die.*Couldn.t determine signature file directory.*$/d" \
            -e 's,/usr/local/f-prot,/usr/lib/f-prot,g' \
            -e 's,check-updates\.pl,check-updates,g' \
            $f > $f.new
@@ -324,6 +324,7 @@
        ;;
        f|+f)
            echo Reinstallation forced
+           DO_INSTALL=true
            FORCE_INSTALL=true
        ;;
        d|+d)

Reply via email to