site  contact  subhomenews

Pmusic 1.8.3

August 05, 2011 — BarryK
I have upgraded zigbert's great audio player, see forum:
http://www.murga-linux.com/puppy/viewtopic.php?t=31206

The only thing that I changed was one line in 'pinstall.sh' needs relative paths so as to work when the PET is installed in Woof.

Uploaded PET (73KB):
http://distro.ibiblio.org/quirky/pet_packages-common/pmusic-1.8.3.pet

Comments

pmusic pinstall.sh
Username: zigbert
I wonder, is there a way to make a pinstall script that would work both in woof and when upgrading an already installed Pmusic... or installing to a Puppy without Pmusic? Sigmund

Re pinstall.sh script
Username: BarryK
"zigbert, The pinstall script works in both cases, in Woof and in a running Puppy system. All you have to know is that you don't put an absolute path, for example instead of /usr/lib/libfile.so, you put usr/lib/libfile.so (or ./usr/lib/libfile.so). This works in both cases. As far as upgrading an existing Pmusic, usually you don't have to do anything special. But, in case you do, well, you can put anything that you require into pinstall.sh. Note, the script is a post-install script, so acts on the files after they have been installed. You will notice that I sometimes put a test if [ "`pwd`" = "/" ];then ...that is when I want pinstall.sh to do something different depending on whether the package is being installed in Woof or a running Puppy. The above test would be true if a running Puppy.

Re pinstall.sh script
Username: zigbert
"Thank you Barry I will update my pinstall.sh Sigmund


Tags: puppy