2010-04-05 22:25:37 +00:00
|
|
|
#!/bin/sh
|
2012-05-22 14:54:15 +00:00
|
|
|
|
|
|
|
INSTALLDIR=$PWD/mnt
|
|
|
|
|
2013-12-13 03:29:29 +00:00
|
|
|
rpm -i --root=$INSTALLDIR $SCRIPTSDIR/3rd_party_software/adobe-release-x86_64-*.noarch.rpm || exit 1
|
2014-07-01 23:05:21 +00:00
|
|
|
if [ "$TEMPLATE_FLAVOR" == "fullyloaded" ]; then
|
|
|
|
rpm --import --root=$INSTALLDIR mnt/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
|
|
|
|
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR flash-plugin || exit 1
|
|
|
|
else
|
|
|
|
yum-config-manager --installroot=$INSTALLDIR --disable adobe-linux-x86_64 > /dev/null
|
|
|
|
fi
|