diff options
author | DJ Delorie <dj@delorie.com> | 2012-07-09 17:08:41 -0400 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2012-07-09 17:08:41 -0400 |
commit | 1426c8dd18fd2e0905d91235f5909cb25395ea8d (patch) | |
tree | 93f88663cb124679b4ce3bb2cc23990580fd27a2 | |
parent | ef7f1e9d4266349954e2853b17869649d5ccc06e (diff) | |
download | bootstrap-1426c8dd18fd2e0905d91235f5909cb25395ea8d.tar.gz bootstrap-1426c8dd18fd2e0905d91235f5909cb25395ea8d.tar.xz bootstrap-1426c8dd18fd2e0905d91235f5909cb25395ea8d.zip |
Combine all RPMs to be installed to avoid dependency issues
-rw-r--r-- | macros.bashrc | 4 |
1 files changed, 3 insertions, 1 deletions
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() |