Skip to content

Commit

Permalink
chromium detection use command -v
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot committed Nov 30, 2020
1 parent 773e972 commit 853e7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/Boxy SVG/install
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function error {
git clone https://github.com/Botspot/Boxy-SVG-RPi
cd Boxy-SVG-RPi
unzip ./boxysvgrpi.zip
if [ -f /usr/bin/chromium-browser ];then
if command -v chromium-browser;then
chromium-browser --load-and-launch-app=$(pwd)/boxysvgrpi &
elif [ -f /usr/bin/chromium ];then
elif command -v chromium;then
chromium --load-and-launch-app=$(pwd)/boxysvgrpi
else
error "You must have Chromium Browser installed to use the Boxy SVG Chrome App!"
Expand Down

0 comments on commit 853e7fe

Please sign in to comment.