From 1426c8dd18fd2e0905d91235f5909cb25395ea8d Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 9 Jul 2012 17:08:41 -0400 Subject: Combine all RPMs to be installed to avoid dependency issues --- macros.bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macros.bashrc b/macros.bashrc index 1aca576..3f13833 100644 --- a/macros.bashrc +++ b/macros.bashrc @@ -58,6 +58,7 @@ rpminst() { cd $HOME/rpmbuild/RPMS + to_inst="" for i in "$@" do rf= @@ -67,7 +68,7 @@ rpminst() */$i-*-*-*) ;; */$i-*-*.rpm) rf=$r - (set -x; rpm -i --nodeps --force $r) + to_inst="$to_inst $r" ;; esac done @@ -78,6 +79,7 @@ rpminst() fi # HOME set by higher level script done + (set -x; rpm -i --nodeps --force $to_inst) } rpma() -- cgit