Changeset 57775 in vbox
- Timestamp:
- Sep 16, 2015 9:25:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/rules
r56848 r57775 75 75 # look for fedora 76 76 rpmrel := $(shell cat /etc/fedora-release | sed -e 's/^Fedora *release *\([1-9][0-9]*\) .*/fedora\1/') 77 endif 78 ifeq ($(rpmrel),) 79 # look for OL 80 rpmrel := $(shell cat /etc/enterprise-release | sed -ne 's/^Enterprise Linux[a-zA-Z ]*\([1-9][0-9]*\).*/ol\1/p') 81 endif 82 ifeq ($(rpmrel),) 83 # look for CentOS 84 rpmrel := $(shell cat /etc/redhat-release | sed -ne 's/^CentOS[a-zA-Z ]*\([1-9][0-9]*\).*/centos\1/p') 85 endif 86 ifeq ($(rpmrel),) 87 # look for Red Hat 88 rpmrel := $(shell cat /etc/redhat-release | sed -ne 's/^Red Hat[a-zA-Z ]*\([1-9][0-9]*\).*/centos\1/p') 77 89 endif 78 90 ifeq ($(rpmrel),)
Note:
See TracChangeset
for help on using the changeset viewer.