You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-linux-template-builder/scripts_fedora/add_3rd_party_software.sh

12 lines
455 B

#!/bin/sh
INSTALLDIR=$PWD/mnt
rpm -i --root=$INSTALLDIR $SCRIPTSDIR/3rd_party_software/adobe-release-x86_64-*.noarch.rpm || exit 1
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