Trinity Desktop Environment Packaging
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.

15 lines
333B

  1. #!/bin/bash
  2. PKGFILE="packages$(rpm -E %dist)"
  3. # Under Mageia/Mandriva, do not forget to enable "Tainted" and "Nonfree" repositories !
  4. if [ -x /usr/sbin/urpmi ]; then
  5. if [ "$(uname -i)" = "x86_64" ]; then
  6. PKGS="$(<${PKGFILE})"
  7. else
  8. PKGS="$(sed -e "s|lib64|lib|" ${PKGFILE} | sort -u)"
  9. fi
  10. sudo urpmi ${PKGS} 2>&1
  11. fi