优化安装脚本

This commit is contained in:
2022-10-22 17:14:25 +08:00
parent a75f11da62
commit 0fba9464f9

View File

@@ -14,7 +14,8 @@ _build()
_install()
{
cp bin/amd64 /bin/gomail
ARCH=`go env | grep GOARCH | cut -d \" -f 2`
cp bin/${ARCH} /bin/gomail
cp gomail.ini /etc/
}