Votre Nom 1 year ago
parent
commit
4e79716fc4
1 changed files with 6 additions and 5 deletions
  1. 6 5
      options/chia.sh

+ 6 - 5
options/chia.sh

@@ -150,8 +150,8 @@ if ! [ -d /home/wareck/chia ];then mkdir /home/wareck/chia;fi
 
 function GigaHorse_farmer_ {
 echo -e "$(tput setaf 10)\nInstall GigaHorse Farmer$(tput sgr0)"
-if ! [ -d /home/wareck/chia ];then mkdir /home/wareck/chia;fi
-cd /home/wareck/chia/
+if ! [ -d /home/wareck/blockchain ];then mkdir /home/wareck/blockchain;fi
+cd /home/wareck/blockchain/
 GigaHorse_link=https://github.com/madMAx43v3r/chia-gigahorse/releases/download/v2.1.1.giga25/chia-gigahorse-farmer-2.1.1.giga25-x86_64.tar.gz
 wget -c -q --show-progress $GigaHorse_link -O chia-gigahorse-farmer.tar.gz
 tar xfz chia-gigahorse-farmer.tar.gz --checkpoint=.1000
@@ -204,7 +204,7 @@ chmod +x nft.sh
 echo -e "\e[97mDone.\e[0m"
 
 if [ -f foxy.sh ];then rm foxy.sh; fi
-cat <<'EOF'>> nft.sh
+cat <<'EOF'>> foxy.sh
 #!/bin/bash
 POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
 FARM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
@@ -345,8 +345,9 @@ echo -e "\e[97mDone.\e[0m"
 function chia_blockchain {
 echo -e "$(tput setaf 10)\nBuild Chia-blockchain & Gui :$(tput sgr0)"
 sleep 1
-cd /home/wareck/chia
-if [ ! -d  /home/wareck/chia/chia-blockchain ]
+if ! [ -d /home/wareck/blockchain ];then mkdir /home/wareck/blockchain;fi
+cd /home/wareck/blockchain
+if [ ! -d  /home/wareck/blockchain/chia-blockchain ]
 then
 git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
 cd chia-blockchain