From 7a848dcca3c960a6ac08aa3050fedb4cfb9c3023 Mon Sep 17 00:00:00 2001 From: Jakob Egger Date: Thu, 7 Jan 2016 13:23:17 +0100 Subject: [PATCH] Update shell profile updater --- Postgres/PGShellProfileUpdater.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Postgres/PGShellProfileUpdater.m b/Postgres/PGShellProfileUpdater.m index 14d8868a7..966644950 100644 --- a/Postgres/PGShellProfileUpdater.m +++ b/Postgres/PGShellProfileUpdater.m @@ -36,9 +36,11 @@ +(PGShellProfileUpdater*)sharedUpdater { ]; sharedProfileUpdater.oldPaths = @[ @"/Applications/Postgres.app/Contents/MacOS/bin", - @"/Applications/Postgres93.app/Contents/MacOS/bin" + @"/Applications/Postgres93.app/Contents/MacOS/bin", + @"/Applications/Postgres.app/Contents/Versions/9.3/bin", + @"/Applications/Postgres.app/Contents/Versions/9.4/bin" ]; - sharedProfileUpdater.currentPath = [NSString stringWithFormat:@"/Applications/Postgres.app/Contents/Versions/%s/bin", xstr(PG_MAJOR_VERSION)]; + sharedProfileUpdater.currentPath = [NSString stringWithFormat:@"/Applications/Postgres.app/Contents/Versions/latest/bin"]; }); return sharedProfileUpdater; }