Skip to content

Commit

Permalink
Update chromium.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 43eb609 commit af347c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ elif which chromium-browser; then
fi
extra_options=

if [ $executable_path = "/bin" ] || [ $executable_path = "/usr/bin" ] || [ $executable_path = "/usr/local/bin" ]; then
if [ $executable_path = "/bin" ] || [ $executable_path = "/usr/bin" ] || [ $executable_path = "/usr/local/bin"]; then
executable_path=`find /usr -name "chrom*.pak" 2>/dev/null|grep -e "chrom.*chrom" -m 1 |xargs dirname`
executable=`find $executable_path -maxdepth 1 -type f -regex ".*\chrom[^_-]*[^r]"|sed -E "s|.*/||"`
fi

if [ "$1" = "yongbin" ]; then
Expand Down

0 comments on commit af347c9

Please sign in to comment.