-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Justin F. Hallett wrote:
| + foreach $pname (sort @selected) {
| + $package = Fink::Package->package_by_name($pname);
| +
| + # Can't purge or remove virtuals
| + next if $package->is_virtual();
| +
| + $lversion = &latest_version($package->list_versions());
| + $vo = $package->get_version($lversion);
| +
| + # Can only remove/purge installed pkgs
| + next unless $vo->is_installed();
| +So now fink will only remove packages if they are at the latest version?
peter% fink list esound Information about 1840 packages read in 4 seconds. (i) esound 0.2.32-3 Enlightened Sound Daemon (i) esound-bin 0.2.32-3 Enlightened Sound Daemon (i) esound-common 0.2.32-3 Enlightened Sound Daemon ~ esound-data [virtual package] (i) esound-shlibs 0.2.32-3 Enlightened Sound Daemon [pogma:~] peter% fink remove esound /usr/bin/sudo /sw/bin/fink remove esound Password: Information about 1840 packages read in 4 seconds. Failed: no package specified for command 'remove'!
Peter - -- Peter O'Gorman - http://www.pogma.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBP81nJbiDAg3OZTLPAQL6/gQAwchTAizKXREuBcOx33ke5Zz4XBJaNtzU z+5q60Au7z2iYbCz09MFNj8+emjtzBQecF5D98dIeqe+XFVyu4DPLdMZ/DqLfTCN Dbkl5IYF6litbgJBG5PPddpI8L5EXi5B5uPXbUxIFoThfEpruLcpuhU40umG8i3X 6gc7LT8Ow9g= =u9G/ -----END PGP SIGNATURE-----
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
