From owner-freebsd-ports Mon Jun 2 18:07:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA24934 for ports-outgoing; Mon, 2 Jun 1997 18:07:47 -0700 (PDT) Received: from centaur.orion.ab.ca (orion.ab.ca [207.245.27.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA24929 for ; Mon, 2 Jun 1997 18:07:43 -0700 (PDT) Received: from localhost (timp@localhost) by centaur.orion.ab.ca (8.8.5/8.6.12) with SMTP id SAA20562; Mon, 2 Jun 1997 18:13:41 GMT Date: Mon, 2 Jun 1997 18:13:38 +0000 () From: Tim Pushor To: Satoshi Asami cc: ports@FreeBSD.ORG Subject: Re: Trouble with pkg_delete & sym links to dirs In-Reply-To: <199706030033.RAA02193@vader.cs.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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"