[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg: dpkg-divert syntax error



Package: dpkg
Version: 1.6.10
Severity: important

 Setting up tcsh (6.09.00-8) ...
 Installing new version of config file /etc/csh.cshrc ...
 syntax error at /usr/sbin/dpkg-divert line 208, near "unlink"
 Execution of /usr/sbin/dpkg-divert aborted due to compilation errors.

This is the code:

        if ($1 == ENOENT) {
                $dorename = 0;
        } else
                unlink ("${file}.dpkg-devert.tmp");

Note the missing braces round the unlink statement.
Besides, "devert" is spelled wrong (but that's not important).


Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/


Reply to: