Procházet zdrojové kódy

Debugging messages for gogs install

Bob Mottram před 9 roky
rodič
revize
c1fe82c8fe
1 změnil soubory, kde provedl 5 přidání a 3 odebrání
  1. 5
    3
      src/freedombone

+ 5
- 3
src/freedombone Zobrazit soubor

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