LibreU3DSDK/Tools/Update.sh

8 lines
244 B
Bash
Executable File

#!/bin/bash
wget https://git.macaw.me/Coms/LibreU3DSDK/raw/branch/master/Tools/Update.sh Tools/
if (($(sha512sum Update.sh | awk '{print $1}') != $(sha512sum Tools/Update.sh | awk '{print $1}')));
then
mv -f Tools/Update.sh ./
Update.sh
fi