Skip to content

Commit

Permalink
Update install_okagent.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hakong committed Feb 23, 2016
1 parent 5b4a963 commit c7eedba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/share/okconfig/client/linux/install_okagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ install_rhel() {

if [[ $DISTRO =~ centos[567] ]]; then
REPO=$(echo $DISTRO | sed 's/centos/rhel/g')
elif [[ $DISTRO =~ rhel[567] ]]; then
REPO=$(echo $DISTRO | egrep -o "[a-z]+[0-9]") #not sure if OK repo broken or this broken
else
REPO=$DISTRO
fi
Expand Down

0 comments on commit c7eedba

Please sign in to comment.