Преглед изворни кода

Debugging messages for gogs install

Bob Mottram пре 9 година
родитељ
комит
c1fe82c8fe
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5
    3
      src/freedombone

+ 5
- 3
src/freedombone Прегледај датотеку

@@ -2100,7 +2100,7 @@ function mesh_cjdns {
2100 2100
 
2101 2101
     # update to the next commit
2102 2102
     set_repo_commit /etc/cjdns "cjdns commit" "$CJDNS_COMMIT" $CJDNS_REPO
2103
-    
2103
+
2104 2104
     if grep -Fxq "mesh_cjdns" $COMPLETION_FILE; then
2105 2105
         return
2106 2106
     fi
@@ -2444,7 +2444,7 @@ function install_zeronet_blog {
2444 2444
     fi
2445 2445
 
2446 2446
     set_repo_commit /opt/zeronet/ZeroBlog "ZeroNet Blog commit" "$ZERONET_BLOG_COMMIT" $ZERONET_BLOG_REPO
2447
-    
2447
+
2448 2448
     if grep -Fxq "install_zeronet_blog" $COMPLETION_FILE; then
2449 2449
         return
2450 2450
     fi
@@ -3673,7 +3673,7 @@ function create_repo_sources {
3673 3673
 
3674 3674
     apt-get update
3675 3675
     apt-get -y install apt-transport-https
3676
-    
3676
+
3677 3677
     echo 'create_repo_sources' >> $COMPLETION_FILE
3678 3678
 }
3679 3679
 
@@ -6671,6 +6671,7 @@ function install_gogs {
6671 6671
     GO_PACKAGE_MANAGER_REPO2=$(echo "$GO_PACKAGE_MANAGER_REPO" | sed 's|https://||g')
6672 6672
     go get -u $GO_PACKAGE_MANAGER_REPO2
6673 6673
     if [ ! "$?" = "0" ]; then
6674
+        echo $'install_gogs: go get failed'
6674 6675
         exit 479832
6675 6676
     fi
6676 6677
 
@@ -6695,6 +6696,7 @@ function install_gogs {
6695 6696
     go get -u ./...
6696 6697
     go build
6697 6698
     if [ ! "$?" = "0" ]; then
6699
+        echo $'install_gogs: go build failed'
6698 6700
         exit 546750
6699 6701
     fi
6700 6702