qubes-linux-template-builder/scripts_fedora/add_3rd_party_software.sh
Marek Marczykowski-Górecki 3eaa198c97 fedora: improve error handling
Interrupt build process when error encountered.
2013-12-13 04:29:29 +01:00

8 lines
300 B
Bash
Executable File

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