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