Debugging messages for gogs install
This commit is contained in:
parent
662c8b0486
commit
c1fe82c8fe
|
@ -2100,7 +2100,7 @@ function mesh_cjdns {
|
||||||
|
|
||||||
# update to the next commit
|
# update to the next commit
|
||||||
set_repo_commit /etc/cjdns "cjdns commit" "$CJDNS_COMMIT" $CJDNS_REPO
|
set_repo_commit /etc/cjdns "cjdns commit" "$CJDNS_COMMIT" $CJDNS_REPO
|
||||||
|
|
||||||
if grep -Fxq "mesh_cjdns" $COMPLETION_FILE; then
|
if grep -Fxq "mesh_cjdns" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -2444,7 +2444,7 @@ function install_zeronet_blog {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set_repo_commit /opt/zeronet/ZeroBlog "ZeroNet Blog commit" "$ZERONET_BLOG_COMMIT" $ZERONET_BLOG_REPO
|
set_repo_commit /opt/zeronet/ZeroBlog "ZeroNet Blog commit" "$ZERONET_BLOG_COMMIT" $ZERONET_BLOG_REPO
|
||||||
|
|
||||||
if grep -Fxq "install_zeronet_blog" $COMPLETION_FILE; then
|
if grep -Fxq "install_zeronet_blog" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -3673,7 +3673,7 @@ function create_repo_sources {
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install apt-transport-https
|
apt-get -y install apt-transport-https
|
||||||
|
|
||||||
echo 'create_repo_sources' >> $COMPLETION_FILE
|
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_PACKAGE_MANAGER_REPO2=$(echo "$GO_PACKAGE_MANAGER_REPO" | sed 's|https://||g')
|
||||||
go get -u $GO_PACKAGE_MANAGER_REPO2
|
go get -u $GO_PACKAGE_MANAGER_REPO2
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
echo $'install_gogs: go get failed'
|
||||||
exit 479832
|
exit 479832
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -6695,6 +6696,7 @@ function install_gogs {
|
||||||
go get -u ./...
|
go get -u ./...
|
||||||
go build
|
go build
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
echo $'install_gogs: go build failed'
|
||||||
exit 546750
|
exit 546750
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue