Skip to content

Commit 4cdde41

Browse files
authored
Exit install script if run on systemcore (#58)
1 parent 603f054 commit 4cdde41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ Syntax: sudo ./install.sh [options]
105105
EOF
106106
}
107107

108+
# Exit with message if attempting to run on SystemCore
109+
if grep -iq "systemcore" /etc/os-release; then
110+
die "This install script does not work on Systemcore."
111+
fi
112+
108113
INSTALL_NETWORK_MANAGER="ask"
109114
VERSION="latest"
110115

0 commit comments

Comments
 (0)