From 85be96d30255338ea98024a809436ad677c7cc22 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 26 Nov 2014 00:39:26 +0100 Subject: [PATCH] Made Mega upload optional. --- package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.sh b/package.sh index b815a42..06bb494 100755 --- a/package.sh +++ b/package.sh @@ -30,7 +30,7 @@ then mkdir "MarbleGame_${platform^}" cp -r binaries Levels Shader "MarbleGame_${platform^}" zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}" - if hash megacmd 2>/dev/null + if [ hash megacmd 2>/dev/null && $2 == "mega" ] then megacmd -force put "MarbleGame_${platform^}.zip" mega:/GameBuilds/ fi