zenith-install - ./gitignore updated

./configure updatex
This commit is contained in:
Rene V. Vergara A. 2024-07-15 21:15:02 -04:00
parent 0724b79b8d
commit 5df6511bee
2 changed files with 16 additions and 6 deletions

5
.gitignore vendored
View file

@ -5,6 +5,5 @@ zenith.db
zenith.log
zenith.db-shm
zenith.db-wal
installer/*.tar.gz
installer/*.tar.gz.prev
docker_files/zenith-docker_*
docker_files/zenith-docker_0.6.0.0.7z
docker_files/zenith-docker_0.6.0.0/zenith-docker_0.6.0.0.tar

17
configure vendored
View file

@ -1,6 +1,17 @@
#!/bin/bash
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell:\$PKG_CONFIG_PATH" | tee -a ~/.bashrc
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell:\$LD_LIBRARY_PATH" | tee -a ~/.bashrc
echo "Configuring zenith...."
if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
echo "... Paths already exist"
else
# Set Paths
echo "... Adding new zenith paths to local configuration"
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell" | tee -a ~/.bashrc
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell" | tee -a ~/.bashrc
fi
echo "... Reloading paths"
source ~/.bashrc
echo "... building zcash-haskell"
cd zcash-haskell && cabal build
echo
echo "Done"
echo