LibreU3DSDK/Tools/Update.sh

8 lines
244 B
Bash
Raw Permalink Normal View History

2020-07-28 10:42:52 +00:00
#!/bin/bash
2020-08-03 20:03:25 +00:00
wget https://git.macaw.me/Coms/LibreU3DSDK/raw/branch/master/Tools/Update.sh Tools/
2020-07-28 10:42:52 +00:00
if (($(sha512sum Update.sh | awk '{print $1}') != $(sha512sum Tools/Update.sh | awk '{print $1}')));
then
mv -f Tools/Update.sh ./
Update.sh
fi