Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale preference structures #25

Merged
merged 1 commit into from May 23, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions updateOrDeploy.sh
Expand Up @@ -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
Expand All @@ -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
Expand Down