OSDN Git Service

small fixes
[pacbang-linux/iso-arch.git] / airootfs / update-pbif
index a44c995..dac25c7 100755 (executable)
@@ -26,12 +26,11 @@ ANSWER="/tmp/.aif"
      exit 1
   fi
   
-  if [[ ! $(ping -c 1 google.com) ]]; then
+  if [[ ! $(ping -c 1 osdn.net) ]]; then
      dialog --backtitle "$VERSION" --title " Error " --msgbox "\n- Internet connection test failed.\n- Test internetverbinding mislukt.\n- Es konnte keine Verbindung zum Internet hergestellt werden.\n- οκιμή σύνδεσης στο Internet απέτυχε.\n- Il test della connessione ad Internet è fallito.\n- Internett tilkobling feilet.\n- Test połączenia z Internetem nie powiódł się.\n- Нет соединения с Интернетом.\n- Prueba de conexión a Internet fallida.\n" 0 0
      exit 1
   fi
   
   clear
-  wget -N https://github.com/fhdk/pbif/archive/master.zip
-  unzip -o master.zip -d /
-  /pbif-master/abif
+  git clone git.osdn.net:/gitroot/pacbang-linux/pbif.git pbif-master
+  /pbif-master/pbif