Create Final installer tar with corrected unwrap script
This commit is contained in:
@@ -65,30 +65,51 @@ if ( $ans != "y" ) then
|
||||
exit
|
||||
endif
|
||||
|
||||
set ARCH=`uname -s | tr '[A-Z]' '[a-z]'`
|
||||
set ARCH=`uname -s`
|
||||
set MACHINE=`uname -m`
|
||||
|
||||
set dirname=`dirname $0`
|
||||
|
||||
if ( $MACHINE = "sun4m" ) then
|
||||
switch ($ARCH)
|
||||
case sunos:
|
||||
if ( `uname -r` == 5.4 ) then
|
||||
case SunOS:
|
||||
if ( `uname -r` == 5.6 ) then
|
||||
set REL=5.4
|
||||
endif
|
||||
if ( `uname -r` == 5.5 ) then
|
||||
set REL=5.4
|
||||
endif
|
||||
if ( `uname -r` == 5.4 ) then
|
||||
set REL=5.4
|
||||
endif
|
||||
if ( `uname -r` == 4.1.4 ) then
|
||||
set REL=4.1.4
|
||||
endif
|
||||
breaksw
|
||||
case aix:
|
||||
case AIX:
|
||||
set REL=3.2
|
||||
breaksw
|
||||
endsw
|
||||
endif
|
||||
|
||||
if ( $MACHINE = "i86pc" ) then
|
||||
switch ($ARCH)
|
||||
case SunOS:
|
||||
if ( `uname -r` == 5.11 ) then
|
||||
set REL=5.6
|
||||
endif
|
||||
if ( `uname -r` == 5.6 ) then
|
||||
set REL=5.6
|
||||
endif
|
||||
case AIX:
|
||||
set REL=5.6
|
||||
breaksw
|
||||
endsw
|
||||
endif
|
||||
|
||||
|
||||
echo "Phase 1: Unpacking the distribution"
|
||||
set name=archie-${VERS}-base.tgz
|
||||
set name=archie-${VERS}-${ARCH}-${REL}-${MACHINE}-base.tgz
|
||||
echo -n "Looking for the distribution file [$name] ..."
|
||||
if ( -f $name ) then
|
||||
echo "found it."
|
||||
@@ -98,10 +119,10 @@ set name=archie-${VERS}-base.tgz
|
||||
It looks like you already have an archie system in ~$ARCHIE. This
|
||||
probably means you want to upgrade your system. The 3.3 upgrade only
|
||||
requires that you upgrade your binary files along with a few
|
||||
miscellaneous files. The \`archie-${VERS}-${ARCH}-${REL}.tgz'
|
||||
miscellaneous files. The \`archie-${VERS}-${ARCH}-${REL}-${MACHINE}.tgz'
|
||||
distribution file contains all you require.
|
||||
EOC1
|
||||
if ( $ARCH != "aix") then
|
||||
if ( $ARCH != "AIX") then
|
||||
cat - <<EOC2
|
||||
|
||||
You probably don't need to install this \`base' distribution file.
|
||||
@@ -144,7 +165,7 @@ EOC3
|
||||
echo "not found."
|
||||
endif
|
||||
|
||||
set name=archie-${VERS}-${ARCH}-${REL}-A.tgz
|
||||
set name=archie-${VERS}-${ARCH}-${REL}-${MACHINE}-A.tgz
|
||||
echo -n "Looking for the distribution file [$name] ..."
|
||||
if ( -f $name ) then
|
||||
echo "found it."
|
||||
@@ -161,7 +182,7 @@ set name=archie-${VERS}-${ARCH}-${REL}-A.tgz
|
||||
echo "not found."
|
||||
endif
|
||||
|
||||
set name=archie-${VERS}-${ARCH}-${REL}-B.tgz
|
||||
set name=archie-${VERS}-${ARCH}-${REL}-${MACHINE}-B.tgz
|
||||
echo -n "Looking for the distribution file [$name] ..."
|
||||
if ( -f $name ) then
|
||||
echo "found it."
|
||||
|
||||
Reference in New Issue
Block a user