On Mar 7, 2005, at 1:21 AM, Daniel Macks wrote:
jswhit committed:
Log Message: fixed PreRmScript
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/r-base.info,v
--- r-base.info 16 Jan 2005 02:55:00 -0000 1.10
+++ r-base.info 6 Mar 2005 13:15:29 -0000 1.11
@@ -1,3 +1,3 @@
Package: r-base
Version: 2.0.1
-Revision: 2
+Revision: 3
@@ -36,5 +36,5 @@
ln -fs %p/Applications/R.app /Applications/Fink/R.app
<<
PreRmScript: <<
- /bin/rm -f /Applications/Fink/R.app
+ /bin/rm -rf /Applications/Fink/R.app
<<
I wonder if this pkg would be a good candidate for the new AppBundles .info field.
dan
Looking over the AppBundles code in cvs, it appears to support InstallScript and PostInstScript, but I see no mention of AppBundle in the PreRmScript. Is this feature incomplete, or is that a bug?
For those of you who (like me) were not familiar with AppBundles, here's a synopsis in pseudocode:
if Appbundles tag exists add to default PostInstScript: create /Applications/Fink/ foreach file.app in AppBundles add to default InstallScript: copy file.app to %i/Applications fix up file.app add to default PostInstScript: symlink %p/Applications/file.app to /Applications/Fink/file.app
Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/)
PGP.sig
Description: This is a digitally signed message part