From 684da7a70eb2e63bacea4d0f8a0eea826a6f0932 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Tue, 18 May 2021 16:17:15 +0000 Subject: [PATCH] Add contrib (#4) Add contrib Signed-off-by: Etzelia Reviewed-on: https://git.birbmc.com/BirbMC/birbmc.com/pulls/4 Co-Authored-By: Etzelia Co-Committed-By: Etzelia --- contrib/update.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/update.sh diff --git a/contrib/update.sh b/contrib/update.sh new file mode 100644 index 0000000..10f9985 --- /dev/null +++ b/contrib/update.sh @@ -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