Package, symbolic link in Prototype

Hi, I have a little problem concerning the Prototype file created by pkgproto.

On my systems the /usr/local can be 3 different thing :

/usr/local = symbolic links to /opt/local

/usr/local = symbolic links to /export/opt

/usr/local = directory /usr/local

Is there any way to build a package which will support all kind of installation without modifying the current /usr/local.

What I found is if you build your package defining /usr/local as a directory and installing that package on a system whitch /usr/local is a symbolic link it removes the link and create a directory.

The only solution I found so far is to omit the /usr/local entry in the Prototype which report an error but still work as long as the /usr/local exist in a way or an other.

[795 byte] By [wpphili] at [2007-11-26 10:31:20]
# 1

> /usr/local = symbolic links to /opt/local

> /usr/local = symbolic links to /export/opt

> /usr/local = directory /usr/local

You should really try to clean this up so it's consistent across all of your machines.

Since some are links and one is real, your kinda stuck on this one.

You might opt to create a new directory structure that is consistent across all machines.

alan

alanpae at 2007-7-7 2:38:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...