Debugging messages for gogs install

This commit is contained in:
Bob Mottram 2016-02-17 15:13:54 +00:00
parent 662c8b0486
commit c1fe82c8fe
1 changed files with 5 additions and 3 deletions

View File

@ -6671,6 +6671,7 @@ function install_gogs {
GO_PACKAGE_MANAGER_REPO2=$(echo "$GO_PACKAGE_MANAGER_REPO" | sed 's|https://||g')
go get -u $GO_PACKAGE_MANAGER_REPO2
if [ ! "$?" = "0" ]; then
echo $'install_gogs: go get failed'
exit 479832
fi
@ -6695,6 +6696,7 @@ function install_gogs {
go get -u ./...
go build
if [ ! "$?" = "0" ]; then
echo $'install_gogs: go build failed'
exit 546750
fi