diff --git a/install.sh b/install.sh index b14268d3e069cf19eb06a93058d34d1c126078b9..e5e933ce90a5848c812d72d42940447b0d68359c 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,7 @@ function unity3d { curl -o unity-editor-5.5.0f3+20161125_amd64.deb http://download.unity3d.com/download_unity/linux/unity-editor-5.5.0f3+20161125_amd64.deb $ROOT dpkg -i unity-editor-5.5.0f3+20161125_amd64.deb cd - + $ROOT apt-get -f install else cd /tmp wget http://download.unity3d.com/download_unity/linux/unity-editor-installer-5.5.0f3+20161125.sh @@ -50,7 +51,6 @@ function unity3d { source unity-editor-installer-5.5.0f3+20161125.sh cd - fi - } function update {