From 8da79f75c9041b6391f7e100b690e4297c356d0a Mon Sep 17 00:00:00 2001 From: Matthew Harmsen Date: Fri, 29 May 2015 12:17:31 -0600 Subject: Remove x86 architecture limitations - PKI Trac Ticket #1392 - Remove i686/x86_64 architecture --- scripts/compose_functions | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'scripts/compose_functions') diff --git a/scripts/compose_functions b/scripts/compose_functions index 75eee8911..14dd96572 100644 --- a/scripts/compose_functions +++ b/scripts/compose_functions @@ -8,23 +8,13 @@ if [ "${OS}" != "Linux" ] ; then exit 255 fi -PLATFORM=`uname -p` -if [ "${PLATFORM}" = "i686" ] ; then - ARCHITECTURE="32-bit" -elif [ "${PLATFORM}" = "x86_64" ] ; then - ARCHITECTURE="64-bit" -else - printf "'$0' is ONLY available on 'i686' or 'x86_64' platforms!\n" - exit 255 -fi - if [ -f "/etc/redhat-release" ] ; then DISTRIBUTION=`cat /etc/redhat-release | cut -c1-7` DIST_VERSION=`cat /etc/redhat-release | tr -d [:alpha:][:blank:][\(\)]` if [ "${DISTRIBUTION}" = "Fedora " ] ; then - MESSAGE="[built for ${ARCHITECTURE} Fedora ${DIST_VERSION}]" + MESSAGE="[built for Fedora ${DIST_VERSION}]" elif [ "${DISTRIBUTION}" = "Red Hat" ] ; then - MESSAGE="[built for ${ARCHITECTURE} Red Hat ${DIST_VERSION}]" + MESSAGE="[built for Red Hat ${DIST_VERSION}]" else printf "'$0' is ONLY available on 'Fedora' or 'Red Hat' " printf "distributions!\n" -- cgit