I was thinking... Some apps (such as wafs) need install scripts to run before you can use it. What if people added postinstall.sh to their legs. Then they could install them in one go. You could update your script to do something like this.
Quote:
#!/bin/sh
mv -f /mnt/us/*.leg /mnt/us/extensions
mv -f /mnt/us/*.sh /mnt/us/extensions
cd /mnt/us/extensions
unzip *.leg
if [ -f /mnt/us/extensions/*.sh ]
then
rm -f *.leg && sh ./*.sh && rm -f ./*.sh && killall cvm
else
rm -f *.leg
fi
killall cvm
|
Just an idea and you don't have to use it but it would help the average user by getting rid of a step and just letting the user use the program.