I added the following to the end of the prerm script:

…
# look for PkgInfo and other problematic app bundle files and remove them
for file in `dpkg -L $FINK_PACKAGE_NAME` ; do
        if [[ "$file" =~ "PkgInfo" ]] || [[ "$file" =~ "empty.lproj" ]] 
                then rm $file 
        fi
done

This covers the cases that we know about.  When the package isn’t currently 
installed the prerm script isn’t triggered, so this isn’t triggered.

If we decide to go with this option, do we want only to apply it only for 10.10 
and later, or go ahead and use it for all supported OS X?


-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
fink-core mailing list
fink-core@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core

Reply via email to