Skip to content

Commit

Permalink
Add root permission to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 authored Mar 18, 2018
1 parent b61ca7f commit 73c2a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ before_install:
- pip install --upgrade py pytest

# modify ImageMagick policy file so that Textclips work correctly.
- cat /etc/ImageMagick/policy.xml
- sudo cat /etc/ImageMagick/policy.xml | sudo sed 's/none/read,write/g'> /etc/ImageMagick/policy.xml
# `| sudo tee` replaces `>` so that it can have root permissions
- cat /etc/ImageMagick/policy.xml | sed 's/none/read,write/g' | sudo tee /etc/ImageMagick/policy.xml

install:
- echo "No install action required. Implicitly performed by the testing."
Expand Down

0 comments on commit 73c2a03

Please sign in to comment.