miscel/stackopsw-201208.sh

changeset 696
106023deee59
parent 695
8a33eac2798b
child 697
86fbe197f71a
equal deleted inserted replaced
6:9aac28334275 7:558463c5998c
38 # fontconfig libgsasl perl-dns snort 38 # fontconfig libgsasl perl-dns snort
39 # freeradius libiconv perl-ds sox 39 # freeradius libiconv perl-ds sox
40 # freetype libidn perl-locale spamassassin 40 # freetype libidn perl-locale spamassassin
41 41
42 # Variables 42 # Variables
43 #ARCFIX=amd64-suse12.1 43 #ARCFIX=amd64-suse12.2
44 #ARCFIX=amd64-solaris11 44 #ARCFIX=amd64-solaris11
45 ARCFIX=$1 45 ARCFIX=$1
46 PREFIX=$2 46 PREFIX=$2
47 SUDBIN=$3 47 SUDBIN=$3
48 48
49 # Sanity check 49 # Sanity check
50 if [ ! $ARCFIX ]; then 50 if [ ! $ARCFIX ]; then
51 echo 'Error: Arch spec "amd64-suse12.1" or similar needed as first argument.' 51 echo 'Error: Arch spec "amd64-suse12.2" or similar needed as first argument.'
52 exit 1 52 exit 1
53 fi 53 fi
54 if [ ! $PREFIX ]; then 54 if [ ! $PREFIX ]; then
55 PREFIX=opsw 55 PREFIX=opsw
56 fi 56 fi
58 SUDBIN=/usr/bin/sudo 58 SUDBIN=/usr/bin/sudo
59 fi 59 fi
60 60
61 # Usage intro 61 # Usage intro
62 echo 'This is a OpenPKG installation script for instance /opsw' 62 echo 'This is a OpenPKG installation script for instance /opsw'
63 echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.1"' 63 echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.2"'
64 echo '...or whatever other string as the first argument. The script' 64 echo '...or whatever other string as the first argument. The script'
65 echo 'will install the Europalab 20120800 basis stack.' 65 echo 'will install the Europalab 20120800 basis stack.'
66 echo '' 66 echo ''
67 echo 'Quick tips: /pfx/bin/openpkg rpm was converted to libexec/openpkg/rpm.' 67 echo 'Quick tips: /pfx/bin/openpkg rpm was converted to libexec/openpkg/rpm.'
68 echo " Call this TMPDIR=/tmp/${PREFIX}auto $0 to parallelize." 68 echo " Call this TMPDIR=/tmp/${PREFIX}auto $0 to parallelize."

mercurial