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.
tde-packaging/redhat/build/install_requires.sh

16 lines
353 B

#!/bin/bash
DIST="$(rpmdist.sh --dist)"
PKGFILE="packages${DIST}"
# Under Mageia/Mandriva, do not forget to enable "Tainted" and "Nonfree" repositories !
if [ -x /usr/sbin/urpmi ]; then
if [ "$(uname -i)" = "x86_64" ]; then
PKGS="$(<${PKGFILE})"
else
PKGS="$(sed -e "s|lib64|lib|" ${PKGFILE} | sort -u)"
fi
sudo urpmi ${PKGS} 2>&1
fi