Auto-detect lvr vendor if /etc/lvr-release (#59897).

CVS patchset: 5334
CVS date: 2002/02/24 17:14:33
This commit is contained in:
jbj 2002-02-24 17:14:33 +00:00
parent 6df10492d9
commit 02893e232d
1 changed files with 2 additions and 1 deletions

View File

@ -1110,11 +1110,12 @@ mint) RPMCANONARCH=m68kmint ;;
esac
RPMCANONVENDOR="$build_vendor"
case "${build_vendor}" in
unknown|pc|ibm|redhat|pld|mandrake|conectiva)
unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr)
test -f /etc/redhat-release && RPMCANONVENDOR=redhat
test -f /etc/pld-release && RPMCANONVENDOR=pld
test -f /etc/mandrake-release && RPMCANONVENDOR=mandrake
test -f /etc/conectiva-release && RPMCANONVENDOR=conectiva
test -f /etc/lvr-release && RPMCANONVENDOR=lvr
;;
esac
RPMCANONOS="$build_os_noversion"