From 23600349d1834cf35f83670fb6741df29c9a8b12 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Fri, 18 Jan 2013 14:56:11 +0100 Subject: [PATCH] Revert "Added AutoUpdate Script for linux. (Not Stable)" This reverts commit 834d6719c70244c76bc0c6f88a487e8b84337bdd. --- autoupdate_development.sh | 42 --------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 autoupdate_development.sh diff --git a/autoupdate_development.sh b/autoupdate_development.sh deleted file mode 100644 index da773a12..00000000 --- a/autoupdate_development.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -echo "------------------------------------------------------------" -echo "| PocketMine Updater |" -echo "|By sekjun9878 and PocketMine-MP Development Team |" -echo "|By using this program you agree to the zlib/libpng license|" -echo "------------------------------------------------------------" - -#Initialise -update_channel=$(awk -F'=' '/update-channel/ {print $2}' server.properties) -current_update=$(awk -F'=' '/last-update/ {print $2}' server.properties) - -echo "Update Information" -echo "Update Channel: Development" -echo "Current Update: "$current_update -echo "" -echo "WARNING WARNING WARNING" -echo "THIS PROGRAM IS CURRENTLY IN TESTING" -echo "THIS PROGRAM MIGHT DELETE YOUR MAP / SETTINGS / PROPERTIES DATA" -echo "BY PROCEEDING YOU UNDERSTAND THE RISKS OF RUNNING THIS PROGRAM" - -read -p "Do you wish to proceed(y/n)?" -[ "$(echo $REPLY | tr [:upper:] [:lower:])" == "y" ] || exit - -#Delete the src directory -echo -n "Deleting the src directory..." -rm -r src -echo "done" -#Get the stable Release -echo -n "Getting the latest development release..." -wget -q https://github.com/shoghicp/PocketMine-MP/archive/master.zip -O UpdateData.zip -echo "done" -echo -n "Unzipping data..." -unzip -q UpdateData.zip -echo "done" -echo -n "Overwriting PocketMine-MP..." -cp -fr ./PocketMine-MP-master/* ./ -echo "done" -echo -n "Removing temporary files..." -rm -r PocketMine-MP-master -rm UpdateData.zip -echo "done" -echo "Finished Updating PocketMine-MP" \ No newline at end of file