Skip to content

Commit

Permalink
Fixed command for installing python via apt-get and yum by using sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongyoul Lee authored and Jongyoul Lee committed Apr 5, 2016
1 parent 3896826 commit a0341a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server-cli/src/main/resources/brooklyn/default.catalog.bom
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ brooklyn.catalog:
install.command: |
# install python if not present
which python || \
{ apt-get update && apt-get install python ; } || \
{ yum update && yum install python ; } || \
{ sudo apt-get update && sudo apt-get install python ; } || \
{ sudo yum update && sudo yum install python ; } || \
{ echo WARNING: cannot install python && exit 1 ; }

customize.command: |
Expand Down
4 changes: 2 additions & 2 deletions server-cli/src/main/resources/catalog.bom
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ brooklyn.catalog:
install.command: |
# install python if not present
which python || \
{ apt-get update && apt-get install python ; } || \
{ yum update && yum install python ; } || \
{ sudo apt-get update && sudo apt-get install python ; } || \
{ sudo yum update && sudo yum install python ; } || \
{ echo WARNING: cannot install python && exit 1 ; }

customize.command: |
Expand Down

0 comments on commit a0341a4

Please sign in to comment.