Skip to content

Commit

Permalink
Use --timestamping to avoid re-downloading.
Browse files Browse the repository at this point in the history
When a newer version of the file appears, wget will automatically
update the file on disk.
  • Loading branch information
automaciej committed Jul 22, 2024
1 parent acbb385 commit 44374bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44374bb

Please sign in to comment.