bugfix(iterm2): mkdir -p ~/Applications before use
[webi-installers/.git] / iterm2 / install.sh
index 47c6bcf345b4b2ef3789dd16f0689e4e1354ea18..7c94f13bb2e49fbd95a2783c4ec0e014e8bb6fac 100644 (file)
@@ -28,6 +28,7 @@ function _install_iterm2() {
     if [[ -d ~/Applications/iTerm.app ]]; then
         mv ~/Applications/iTerm.app "${WEBI_TMP}/iTerm.app-webi.bak"
     fi
+    mkdir -p ~/Applications/
     mv "${WEBI_TMP}/iTerm.app" ~/Applications/
 }