Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 18:13:38 +0000 ()
From:      Tim Pushor <timp@orion.ab.ca>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Trouble with pkg_delete & sym links to dirs
Message-ID:  <Pine.BSI.3.96.970602180859.20555A-100000@centaur.orion.ab.ca>
In-Reply-To: <199706030033.RAA02193@vader.cs.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jun 1997, Satoshi Asami wrote:

>  * Does anybody know how to properly do this or a possible workaround? I am
>  * using FreeBSD-2.2.2-RELEASE
> 
> A workaround would be to not list the link and use "@exec ln -sf" and
> "@unexec rm -f" to add/remove links.

You know.. I tried two things:

1) creating the symlink with @exec using full directory spec. i.e.

	@exec /bin/ln -s /opt/realfile /opt/symlink
and
	@cwd /opt
	@exec /bin/ln -s realfile symlink

and it doesn't get done :-(. I can't figure out why. When it first did not
work I added the /bin/ in case there was no environment set upon
extraction, but did not help. The funny thing is that my package requires
a program to run to initialize itself, and it works fine with an @exec.

Thanks for your help,
Tim
---
Tim Pushor                         Orion Technologies Inc.
Technical Director                 Phone: (403) 284-0042		   
timp@orion.ab.ca                   support@orion.ab.ca
http://www.orion.ab.ca/~timp       http://www.orion.ab.ca

     "communication leadership through innovation"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.96.970602180859.20555A-100000>