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

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20170704) stretch; urgency=medium
* Remove unnecessary sudo from apt-get
-- Simon Long <simon@raspberrypi.org> Tue, 04 Jul 2017 10:28:55 +0100
raspi-config (20170627) stretch; urgency=medium raspi-config (20170627) stretch; urgency=medium
* Change configuration for GL driver - no compton, keep fbturbo, allow on Pi 1 and Pi 0 * Change configuration for GL driver - no compton, keep fbturbo, allow on Pi 1 and Pi 0

View File

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