mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
parent
d4de3537b9
commit
162022b284
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
raspi-config (20220112) bullseye; urgency=medium
|
||||||
|
|
||||||
|
* Run apt-get with '-y' flag when in nonint mode
|
||||||
|
- https://github.com/RPi-Distro/raspi-config/issues/177
|
||||||
|
|
||||||
|
-- Serge Schneider <serge@raspberrypi.com> Wed, 12 Jan 2022 09:04:54 +0000
|
||||||
|
|
||||||
raspi-config (20220110) bullseye; urgency=medium
|
raspi-config (20220110) bullseye; urgency=medium
|
||||||
|
|
||||||
* Add -q flag to wait.conf
|
* Add -q flag to wait.conf
|
||||||
|
@ -826,14 +826,16 @@ do_vnc() {
|
|||||||
if [ $(get_vnc) -eq 0 ]; then
|
if [ $(get_vnc) -eq 0 ]; then
|
||||||
DEFAULT=
|
DEFAULT=
|
||||||
fi
|
fi
|
||||||
|
APT_GET_FLAGS=""
|
||||||
if [ "$INTERACTIVE" = True ]; then
|
if [ "$INTERACTIVE" = True ]; then
|
||||||
whiptail --yesno "Would you like the VNC Server to be enabled?" $DEFAULT 20 60 2
|
whiptail --yesno "Would you like the VNC Server to be enabled?" $DEFAULT 20 60 2
|
||||||
RET=$?
|
RET=$?
|
||||||
else
|
else
|
||||||
RET=$1
|
RET=$1
|
||||||
|
APT_GET_FLAGS="-y"
|
||||||
fi
|
fi
|
||||||
if [ $RET -eq 0 ]; then
|
if [ $RET -eq 0 ]; then
|
||||||
if is_installed realvnc-vnc-server || apt-get install realvnc-vnc-server; then
|
if is_installed realvnc-vnc-server || apt-get install "$APT_GET_FLAGS" realvnc-vnc-server; then
|
||||||
systemctl enable vncserver-x11-serviced.service &&
|
systemctl enable vncserver-x11-serviced.service &&
|
||||||
systemctl start vncserver-x11-serviced.service &&
|
systemctl start vncserver-x11-serviced.service &&
|
||||||
STATUS=enabled
|
STATUS=enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user