Fix sftpgo.sh compilation script for Debian
This commit is contained in:
parent
4df82db19e
commit
2a0bd784bf
|
@ -2,7 +2,7 @@
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
|
||||||
export GO=/usr/bin/go
|
export GO=/usr/bin/go
|
||||||
if [[ $OS = "debian" ]]; then
|
if [[ $ID = "debian" ]]; then
|
||||||
export GO=/usr/lib/go-1.19/bin/go
|
export GO=/usr/lib/go-1.19/bin/go
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue