mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-18 21:06:07 +00:00
19 lines
325 B
Plaintext
19 lines
325 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Update A2osX over the Internet
|
||
|
# Bobbi 2021
|
||
|
|
||
|
if [ $# -ne 1 ]
|
||
|
echo usage: update <buildnum>
|
||
|
exit
|
||
|
fi
|
||
|
if [ -d ${ROOT}root/updates ]
|
||
|
else
|
||
|
mkdir ${ROOT}root/updates
|
||
|
fi
|
||
|
echo Requesting A2osX build $1
|
||
|
httpget update.a2osx.net -U update.$1 -o ${ROOT}root/updates/update.$1
|
||
|
cd ${ROOT}
|
||
|
unpak root/updates/update.$1
|
||
|
|