zenith-install - ./gitignore updated
./configure updatex
This commit is contained in:
parent
0724b79b8d
commit
5df6511bee
2 changed files with 16 additions and 6 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -5,6 +5,5 @@ zenith.db
|
||||||
zenith.log
|
zenith.log
|
||||||
zenith.db-shm
|
zenith.db-shm
|
||||||
zenith.db-wal
|
zenith.db-wal
|
||||||
installer/*.tar.gz
|
docker_files/zenith-docker_0.6.0.0.7z
|
||||||
installer/*.tar.gz.prev
|
docker_files/zenith-docker_0.6.0.0/zenith-docker_0.6.0.0.tar
|
||||||
docker_files/zenith-docker_*
|
|
||||||
|
|
17
configure
vendored
17
configure
vendored
|
@ -1,6 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo "Configuring zenith...."
|
||||||
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell:\$PKG_CONFIG_PATH" | tee -a ~/.bashrc
|
if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
|
||||||
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell:\$LD_LIBRARY_PATH" | tee -a ~/.bashrc
|
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
|
source ~/.bashrc
|
||||||
|
echo "... building zcash-haskell"
|
||||||
cd zcash-haskell && cabal build
|
cd zcash-haskell && cabal build
|
||||||
|
echo
|
||||||
|
echo "Done"
|
||||||
|
echo
|
||||||
|
|
Loading…
Reference in a new issue