Skip to content

Commit

Permalink
Extending to handle symlink python
Browse files Browse the repository at this point in the history
  • Loading branch information
pondix committed Feb 15, 2020
1 parent 673c78b commit 60923e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env

echo "==> Dirty patching to ensure OS deps are installed"

if [[ -f "/usr/bin/python" ]];
if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]];
then
echo "==> Installing dependancies for RHEL compliant version 7"
yum -y install gnutls-devel libtool || true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env

echo "==> Dirty patching to ensure OS deps are installed"

if [[ -f "/usr/bin/python" ]];
if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]];
then
echo "==> Installing dependancies for RHEL compliant version 7"
yum -y install gnutls-devel libtool || true
Expand Down

0 comments on commit 60923e2

Please sign in to comment.