Remove spurious sudo from apt-get.

This commit is contained in:
Simon Long
2017-07-04 10:30:34 +01:00
parent 476a8b3a0d
commit a677daf849
2 changed files with 7 additions and 1 deletions

View File

@@ -605,7 +605,7 @@ do_vnc() {
fi
if [ $RET -eq 0 ]; then
if [ ! -d /usr/share/doc/realvnc-vnc-server ] ; then
sudo apt-get install realvnc-vnc-server
apt-get install realvnc-vnc-server
fi
systemctl enable vncserver-x11-serviced.service &&
systemctl start vncserver-x11-serviced.service &&