Use --timestamping
to avoid re-downloading.
When a newer version of the file appears, wget will automatically update the file on disk.
This commit is contained in:
parent
acbb385516
commit
44374bb3a6
5
build.sh
5
build.sh
@ -26,11 +26,8 @@ fi
|
||||
cd ..
|
||||
|
||||
cd webui
|
||||
if [ -f webui.tar.gz ]; then
|
||||
rm -f webui.tar.gz
|
||||
fi
|
||||
echo "Downloading current webui release ..."
|
||||
wget https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz
|
||||
wget --timestamping https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz
|
||||
if [ -f webui.tar.gz ]; then
|
||||
tar -xzvf webui.tar.gz
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user