Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Stale preference structures #25

Merged
merged 1 commit into from

2 participants

James Wald Mathias
James Wald

In some environments there may be remnants left behind from old installations. It should be safe to copy into all of the matching preference dirs.

Mathias sirthias merged commit a3c7945 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 23, 2012
  1. James Wald
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 5 deletions.
  1. +3 −5 updateOrDeploy.sh
8 updateOrDeploy.sh
View
@@ -41,11 +41,11 @@ function copy_color_file {
echo "Copying BlueForest.xml to $1"
cp -i BlueForest.xml $1
fi
- installDir=$1
+ lastInstallDir=$1
}
# potential directories picked, check for different versions,
-# select first match
+# copy to all matches, stale preference structures may exist
for version in "11" "10"
do
for dirName in $dirs
@@ -57,18 +57,16 @@ do
then
echo $configDir
copy_color_file $configDir
- break 2
elif [ -e "$dir" ]
then
echo $dir
copy_color_file $dir
- break 2
fi
done
done
# No IntelliJ found, exit
-if [ -z $installDir ]
+if [ -z $lastInstallDir ]
then
echo "IntelliJ directory was not found"
exit 1
Something went wrong with that request. Please try again.