wareck 1 year ago
parent
commit
f7ee91ae0a
2 changed files with 11 additions and 11 deletions
  1. 10 10
      make_deps.sh
  2. 1 1
      upload_mega.sh

+ 10 - 10
make_deps.sh

@@ -114,8 +114,8 @@ function download_ {
 echo -e "\n\e[95mDownload original libraries :\e[0m"
 if [ ! -d deps ];then mkdir deps && cd deps;else cd deps; fi
 wget -c -q --show-progress https://github.com/okcashpro/okcash/archive/v5.0.0.5-core.bliss.zip
-wget -c -q --show-progress http://wareck.free.fr/crypto/okcash/boost_$Boost_v.tar.gz
-wget -c -q --show-progress http://wareck.free.fr/crypto/okcash/miniupnpc-$Miniupnp_v.tar.gz
+wget -c -q --show-progress http://wareck.free.fr/crypto/okcash/sources/boost_$Boost_v.tar.gz
+wget -c -q --show-progress http://wareck.free.fr/crypto/okcash/sources/miniupnpc-$Miniupnp_v.tar.gz
 wget -c -q --show-progress http://download.oracle.com/berkeley-db/db-$DB_v.tar.gz
 wget -c -q --show-progress http://download.oracle.com/berkeley-db/db-$DB_v.NC.tar.gz
 wget -c -q --show-progress https://www.openssl.org/source/openssl-$OpenSSL_v.tar.gz
@@ -206,42 +206,42 @@ function upload_ {
 echo ""
 echo -e "\n\e[95mUpload libraries :\e[0m"
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put boost_$Boost_v.tar.xz -o /crypto/okcash/boost_$Boost_v.tar.xz
+put boost_$Boost_v.tar.xz -o /crypto/okcash/sources/boost_$Boost_v.tar.xz
 EOF
 echo -e "boost_$Boost_v.tar.xz: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put userland/build/userland_1.51-1_armhf.deb -o /crypto/okcash/userland_1.51-1_armhf.deb
+put userland/build/userland_1.51-1_armhf.deb -o /crypto/okcash/sources/userland_1.51-1_armhf.deb
 EOF
 echo -e "Userland :Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put megadown.tar.bz2 -o /crypto/okcash/megadown.tar.bz2
+put megadown.tar.bz2 -o /crypto/okcash/sources/megadown.tar.bz2
 EOF
 echo -e "Megadown: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put db-$DB_v.tar.xz -o /crypto/okcash/db-$DB_v.tar.xz
+put db-$DB_v.tar.xz -o /crypto/okcash/sources/db-$DB_v.tar.xz
 EOF
 echo -e "db-$DB_v.tar.xz: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put db-$DB_v.NC.tar.xz -o /crypto/okcash/db-$DB_v.NC.tar.xz
+put db-$DB_v.NC.tar.xz -o /crypto/okcash/sources/db-$DB_v.NC.tar.xz
 EOF
 echo -e "db-$DB_v.NC.tar.xz: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put miniupnpc-$Miniupnp_v.tar.xz -o /crypto/okcash/miniupnpc-$Miniupnp_v.tar.xz
+put miniupnpc-$Miniupnp_v.tar.xz -o /crypto/okcash/sources/miniupnpc-$Miniupnp_v.tar.xz
 EOF
 echo -e "miniupnpc-$Miniupnp_v.tar.xz: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put openssl-$OpenSSL_v.tar.xz -o /crypto/okcash/openssl-$OpenSSL_v.tar.xz
+put openssl-$OpenSSL_v.tar.xz -o /crypto/okcash/sources/openssl-$OpenSSL_v.tar.xz
 EOF
 echo -e "openssl-$OpenSSL_v.tar.xz: Ok."
 
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put okcash_$okcash_v.tar.xz -o /crypto/okcash/okcash_$okcash_v.tar.xz
+put okcash_$okcash_v.tar.xz -o /crypto/okcash/sources/okcash_$okcash_v.tar.xz
 EOF
 echo -e "okcash_$okcash_v.tar.xz : Ok."
 

+ 1 - 1
upload_mega.sh

@@ -9,7 +9,7 @@ pv_i=0
 cifs_i=0
 retry_flag=0
 daemon_on=0
-split_size=300
+split_size=524
 OSV=$(sed 's/\..*//' /etc/debian_version)
 DietPi_="NO"
 if [ $OSV = 8 ];then img_v="Jessie";fi