Add contrib (#4)

Add contrib

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.birbmc.com/BirbMC/birbmc.com/pulls/4
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-05-18 16:17:15 +00:00
parent 6a61dd581c
commit 684da7a70e
1 changed files with 16 additions and 0 deletions

16
contrib/update.sh 100644
View File

@ -0,0 +1,16 @@
# Remove backup
rm -rf dist_bk/
# Create backup
cp -r dist/ dist_bk/
# Get new dist
wget https://git.birbmc.com/BirbMC/birbmc.com/releases/download/latest/dist.tar.gz
# Replace existing dist with new dist
rm -rf dist/
mkdir dist
tar -xf dist.tar.gz -C dist
# Get rid of artifact
rm dist.tar.gz