❦ 10 juillet 2012 08:39 CEST, Teodor MICU <[email protected]> :

>> $ ls -l /var/lib/roundcube/program
>> lrwxrwxrwx 1 root root 28 juin  20 08:02 /var/lib/roundcube/program -> 
>> /usr/share/roundcube/program
>> $ ls -l /usr/share/roundcube/program/js/jquery.min.js
>> lrwxrwxrwx 1 root root 40 juin  24 01:53 
>> /usr/share/roundcube/program/js/jquery.min.js -> 
>> ../../../javascript/jquery/jquery.min.js
>> $ ls -l /var/lib/roundcube/program/js/jquery.min.js
>> lrwxrwxrwx 1 root root 40 juin  24 01:53 
>> /var/lib/roundcube/program/js/jquery.min.js -> 
>> ../../../javascript/jquery/jquery.min.js
>> $ readlink -f /var/lib/roundcube/program/js/jquery.min.js
>> /usr/share/javascript/jquery/jquery.min.js
>
> I have all these exactly as you noted. However, my report was for
> "plugins" directory not for "program".

It seems that dpkg will not replace a symbolic link by a directory. I
still need to investigate a bit on how to fix this.

> Looking at the last message from bug #656886 I see that you assumed
> /var/lib/roundcube/plugins/jqueryui is a symlink but in reality it is
> not. Nor is the plugins directory (from var). The symlink to "/var" is
> in /usr/share/roundcube:
> | plugins -> /var/lib/roundcube/plugins
> | skins -> /var/lib/roundcube/skins

There was a change in roundcube 0.5.1-1 which mangled the symlinks such
that a user should use /var/lib/roundcube as the base and be able to add
plugins. This was to fix bug #612553. I wasn't aware that dpkg had a
special handling for this.
-- 
/* Fuck me gently with a chainsaw... */
        2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c

Attachment: pgp5LRJTkvrEq.pgp
Description: PGP signature

Reply via email to