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

@ -2100,7 +2100,7 @@ function mesh_cjdns {
# update to the next commit
set_repo_commit /etc/cjdns "cjdns commit" "$CJDNS_COMMIT" $CJDNS_REPO
if grep -Fxq "mesh_cjdns" $COMPLETION_FILE; then
return
fi
@ -2444,7 +2444,7 @@ function install_zeronet_blog {
fi
set_repo_commit /opt/zeronet/ZeroBlog "ZeroNet Blog commit" "$ZERONET_BLOG_COMMIT" $ZERONET_BLOG_REPO
if grep -Fxq "install_zeronet_blog" $COMPLETION_FILE; then
return
fi
@ -3673,7 +3673,7 @@ function create_repo_sources {
apt-get update
apt-get -y install apt-transport-https
echo 'create_repo_sources' >> $COMPLETION_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