Code: Select all
fetch some_package_name
There was talk some time ago about creating a more formalised and rigorous package management system. This is not really an attempt to go down that path, it's just a quick script that makes use of all the existing search code and precedents that MU (PSI), prit and I have developed over time at dotpups.de, puppylinux.ca and puppylinux.org. But hopefully this is a taster of what a complete package management tool might be like.
At the moment it just searches for pets, unlike the proper web-based searches at puppylinux.org and puppylinux.ca (which are BTW pretty much exactly the same now).
Also, if you didn't know, there is a now a feed of the latest packages that arrive at pupplinux.ca. Eric, the admin there, also mirrors some other servers, so the feed is a good general indicator of new packages.
All feedback is kindly welcomed.
Change log:
0.2:
* Changed name from Fetch to Petch
* Sent colour codes manually rather than using the Term::ANSI module as the module is not available in all Puppies.
0.3:
* Removed Switch module dependency. Petch now exclusively makes use of internal Perl functions. So hopefully it will work on *all* versions of Puppy now.