|
@@ -9,7 +9,7 @@ ftp_i=0
|
|
|
pv_i=0
|
|
|
retry_flag=0
|
|
|
daemon_on=0
|
|
|
-split_size=350
|
|
|
+split_size=250
|
|
|
|
|
|
echo -e "\n\e[97mOkcash Blockchain Uploader v$version ($date)\e[0m"
|
|
|
echo -e "wareck : wareck@gmail.com"
|
|
@@ -51,13 +51,13 @@ fi
|
|
|
function check_software_ {
|
|
|
echo -e "\n\e[95mChecking Softwares :\e[0m"
|
|
|
echo -e -n "Check PIXZ installed : "
|
|
|
-if ! [ -x "$(command -v pixz)" ]; then pixz_i="pixz" && echo -e "[\e[91m NO \e[0m]"; else pixz_i="" && echo -e "[\e[92m OK \e[0m]"; fi
|
|
|
+if ! [ -x "$(command -v pixz)" ]; then pixz_i="pixz" && echo -e "[\e[91m NO \e[0m]"; else pixz_i="" && echo -e "[\e[92m YES \e[0m]"; fi
|
|
|
echo -e -n "Check PIGZ installed : "
|
|
|
-if ! [ -x "$(command -v pigz)" ]; then pigz_i="pigz" && echo -e "[\e[91m NO \e[0m]"; else pigz_i="" && echo -e "[\e[92m OK \e[0m]"; fi
|
|
|
+if ! [ -x "$(command -v pigz)" ]; then pigz_i="pigz" && echo -e "[\e[91m NO \e[0m]"; else pigz_i="" && echo -e "[\e[92m YES \e[0m]"; fi
|
|
|
echo -e -n "Check LFTP installed : "
|
|
|
-if ! [ -x "$(command -v lftp)" ]; then ftp_i="lftp" && echo -e "[\e[91m NO \e[0m]"; else ftp_i="" && echo -e "[\e[92m OK \e[0m]"; fi
|
|
|
+if ! [ -x "$(command -v lftp)" ]; then ftp_i="lftp" && echo -e "[\e[91m NO \e[0m]"; else ftp_i="" && echo -e "[\e[92m YES \e[0m]"; fi
|
|
|
echo -e -n "Check PV installed : "
|
|
|
-if ! [ -x "$(command -v pv)" ]; then pv_i="pv" && echo -e "[\e[91m NO \e[0m]"; else pv_i="" && echo -e "[\e[92m OK \e[0m]"; fi
|
|
|
+if ! [ -x "$(command -v pv)" ]; then pv_i="pv" && echo -e "[\e[91m NO \e[0m]"; else pv_i="" && echo -e "[\e[92m YES \e[0m]"; fi
|
|
|
if [[ ! $ftp_i = "" || ! $pixz_i = "" || ! $pv_i = "" || ! $pigz_i = "" ]]
|
|
|
then
|
|
|
echo -e "\n\e[95mSoftwares update & install :\e[0m"
|