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

Bug#2154: Minicom postinst script error



package: Minicom
version: 1.71-3

When installing this version of minicom, if the file /etc/minicom.dfl
exists before installing the new package, you get the following message:

mv: /etc/minicom.users: No such file or directory

Checking the minicom.postinst script:

>if ( -e '/etc/minirc.dfl' ) { # If they already have settings in place
>    system ( 'mv /etc/minicom.users /var/lib/minicom/minicom.users' );
>} elsif ( ! -e '/var/lib/minicom/minirc.dfl' ) { # It's probably a new install

The middle line should read:

    system ( 'mv /etc/minicom.dfl /var/lib/minicom/minicom.dfl' );

Looks like a simple cut-and-paste error.


Behan
------------------------------ ,-------------------------------------------.
Behan Webster                  | The opinions expressed above are mine and |
behanw@bnr.ca                  | in no way reflect those of BNR or N@RTEL. |
(613) 765-5502                 `-------------------------------------------'


Reply to: