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

Bug#243223: postinst: test for symlink is -L or -h, not -l

Package: x-ttcidfont-conf
Version: 15
Severity: normal


    the fix for #220723 [sym links are not managed correctly] uses the
    test -l to check for a symlink. It gives the following error:

        x-ttcidfont-conf.postinst: line 14: [: -l: unary operator expected

    As per test(1), the correct tests for a symlink are -h or -L:

       -h FILE
              FILE exists and is a symbolic link (same as -L)

       -L FILE
              FILE exists and is a symbolic link (same as -h)


Adeodato Simó (a.k.a. thibaut)
    EM: asp16 [ykwim] alu.ua.es | IM: my_dato [jabber.org] | PK: DA6AE621
    Listening to: Andrés Calamaro - Más Duele
Patent inflation is not a victimless crime.
        -- NO to software patents

Attachment: signature.asc
Description: Digital signature

Reply to: