scripts/installer.sh fix APT_SYSTEMCTL_START error

fix error: 'sh: 411: APT_SYSTEMCTL_START: parameter not set' on certain debian distributions

Signed-off-by: Jay Stapleton <jay@tailscale.com>
This commit is contained in:
Jay Stapleton 2021-12-16 12:33:41 -05:00
parent 4512e213d5
commit 894693f352
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ main() {
VERSION="" VERSION=""
PACKAGETYPE="" PACKAGETYPE=""
APT_KEY_TYPE="" # Only for apt-based distros APT_KEY_TYPE="" # Only for apt-based distros
APT_SYSTEMCTL_START=false # Only needs to be true for Kali
if [ -f /etc/os-release ]; then if [ -f /etc/os-release ]; then
# /etc/os-release populates a number of shell variables. We care about the following: # /etc/os-release populates a number of shell variables. We care about the following: