From 85d7cfb9e01c4ad0c15b2836b9df81d5e5897da2 Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Mon, 21 Nov 2011 22:02:41 +0000 Subject: [PATCH] Remove broken if statement Tanuki's script has a broken check for OSX versions older than Leopard that sets the CPU bitness to 32 for < 10.5. Since the doesn't even work on Tiger (or older) (and our binary is quad-FAT), this check is not neeeded. --- installer/resources/i2prouter | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index dc0f54e7a8..cbfdf7052c 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -341,12 +341,7 @@ if [ "$DIST_OS" = "macosx" ] then OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'` DIST_ARCH="universal" - if [ "$OS_VER" -lt "10.5.0" ] - then - DIST_BITS="32" - else - DIST_BITS="64" - fi + DIST_BITS="64" APP_PLIST_BASE=${PLIST_DOMAIN}.${APP_NAME} APP_PLIST=${APP_PLIST_BASE}.plist else -- GitLab