Skip to content

Commit

Permalink
Use sudo instead su
Browse files Browse the repository at this point in the history
  • Loading branch information
farribeiro committed May 24, 2018
1 parent bacc4ee commit db0059f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ fi
if [ ! -d ~/.mozilla ]
then
firefox -CreateProfile default \
&& su -c "apt update && apt -y upgrade && apt -y install /src/GBPCEFwr64.deb"
&& sudo "apt update" \
&& sudo "apt -y upgrade" \
&& sudo "apt -y install /src/GBPCEFwr64.deb"
else
su -c "/etc/init.d/warsaw start"
sudo "/etc/init.d/warsaw start"
fi

/usr/local/bin/warsaw/core \
Expand Down

0 comments on commit db0059f

Please sign in to comment.