Tiny Core Base > TCB Tips & Tricks
Turn mydata.tgz into a tce extension
mikshaw:
--- Code: --- DEPLIST="$EXTENSION".dep
wget -q "$PROTOCOL"://"$MIRROR"/"$REPOSITORY"/"$DEPLIST" 2>/dev/null
if [ "$?" == 0 ]; then
for F in `cat "$DEPLIST"`; do
if [ ! -f /usr/local/tce.installed/"${F%.*}" ]; then
wget -q "$PROTOCOL"://"$MIRROR"/"$REPOSITORY"/"$F".md5.txt
if [ -z "$DISPLAY" ]; then
wget "$PROTOCOL"://"$MIRROR"/"$REPOSITORY"/"$F"
else
aterm +tr +sb -bg white -fg black -geometry 80x4 -e wget "$PROTOCOL"://"$MIRROR"/"$REPOSITORY"/"$F" 2>/dev/null
fi
busybox md5sum -cs "$F".md5.txt
if [ $? != 0 ]; then
cd ~; exit 1;
else
install "$F" "$2" "$3"
fi
fi
done
--- End code ---
It looks like it's done in the order listed in the dep file.
It shouldn't make a difference which mirror, assuming it is a true mirror and not an evil plot by some mad server admin to install our applications in the wrong order.
Navigation
[0] Message Index
[*] Previous page
Go to full version