Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Simplify version check, account for RHEL 6.*
Browse files Browse the repository at this point in the history
  • Loading branch information
Alad Wenter committed Aug 14, 2016
1 parent dbc0718 commit 2753070
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions dnscrypt-autoinstall
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,13 @@ redhat_epel_fakeroot() {
source /etc/os-release

case "$VERSION_ID" in
6) yum install -y fakeroot
;;
7) rpm --import https://getfedora.org/static/352C64E5.txt
redhat_arch_fakeroot
;;
7.*) rpm --import https://getfedora.org/static/352C64E5.txt
redhat_arch_fakeroot
;;
6*)
yum install -y fakeroot
;;
7*)
rpm --import https://getfedora.org/static/352C64E5.txt
redhat_arch_fakeroot
;;
esac
fi
}
Expand Down

0 comments on commit 2753070

Please sign in to comment.