File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
66
77SRC_VERSION=${1-}
88
9+ function updateSystem() {
10+ sudo apt-get update
11+ sudo apt-get -y dist-upgrade
12+ }
13+
914function installService() {
10- if [[ ! -f ~ /.local/share/systemd/user/ssl-remote-control.service ]]; then
11- mkdir -p ~ /.local/share/systemd/user/
12- cp " $SCRIPT_DIR /ssl-remote-control.service" ~ /.local/share/systemd/user/ssl-remote-control.service
13- systemctl --user enable ssl-remote-control.service
14- fi
15+ mkdir -p ~ /.local/share/systemd/user/
16+ cp " $SCRIPT_DIR /ssl-remote-control.service" ~ /.local/share/systemd/user/ssl-remote-control.service
17+ systemctl --user enable ssl-remote-control.service
1518}
1619
1720function installRemoteControl() {
@@ -33,7 +36,7 @@ function installBrowser() {
3336 sudo apt-get install --no-install-recommends -y \
3437 xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils \
3538 unclutter \
36- xrandr \
39+ xinput \
3740 chromium-browser
3841
3942 # Enable Auto-Login on console
@@ -51,7 +54,7 @@ function configurePi() {
5154 sudo cp " ${SCRIPT_DIR} /config.txt" /boot/config.txt
5255}
5356
54- sudo apt-get update
57+ updateSystem
5558installService
5659installRemoteControl
5760installBrowser
You can’t perform that action at this time.
0 commit comments