Fix sftpgo.sh compilation script for Debian

This commit is contained in:
Miraty 2023-06-03 18:47:53 +02:00
parent 4df82db19e
commit 2a0bd784bf
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
source /etc/os-release
export GO=/usr/bin/go
if [[ $OS = "debian" ]]; then
if [[ $ID = "debian" ]]; then
export GO=/usr/lib/go-1.19/bin/go
fi