Permalink
Browse files

Working on intellij setup script

  • Loading branch information...
1 parent cb5d8fd commit 0ec554b14e7c4100076de11273fe0fac1b9d2e0b @btilford committed Jul 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 intellij.sh
View
4 intellij.sh
@@ -18,10 +18,10 @@ cd /apps/idea
wget "$url"
mkdir ~/apps/idea/tmp
tar xzf "$dl" -C ~/apps/idea/tmp
-rm "$dl"
+#rm "$dl"
ls ~/apps/idea/tmp
ls ~/apps/idea/tmp | sed -n 's/idea-IU-\([0-9]\{,3\}\.[0-9]\{,3\}\)/mv "&" "~/apps/idea/idea-$version"/p' | sh
-rm -Rf ~/apps/idea/tmp
+#rm -Rf ~/apps/idea/tmp
ln -s "~/apps/idea/idea-$version" /apps/idea/latest
sudo update-alternatives --install /usr/bin/idea idea "/apps/idea/latest/bin/idea.sh" 1

0 comments on commit 0ec554b

Please sign in to comment.