[Pkg-dia-team] Bug#653682: [dia] Add dia-integrated alternative

Slavko linux at slavino.sk
Fri Dec 30 08:33:14 UTC 2011


Package: dia
Version: 0.97.1-10
Severity: wishlist
Tags: patch

Current dia package uses the alternatives system to run dia-normal via
alternative named dia.

Please add simple bash script to run dia with integrated GUI (attached as
dia-integrated) and set it as another alternative by:

update-alternatives --install /usr/bin/dia
        dia /usr/local/bin/dia-integrated 50 \
    --slave /usr/share/man/man1/dia.1.gz \
        dia.1.gz /usr/share/man/man1/dia-normal.1.gz

Note: i am using dia-integrated in /usr/local/bin/, then update the path...

By this solution users can use integrated GUI, which was introduced in
this version of the Dia, without changing distribution's files and lost
these changes after package upgrade...

regards 

-- 
Slavko
http://slavino.sk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dia-integrated
Type: application/octet-stream
Size: 38 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dia-team/attachments/20111230/cfbbe702/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dia-team/attachments/20111230/cfbbe702/attachment.pgp>


More information about the Pkg-dia-team mailing list