Added Fedora to README and added a check for shasum.
This commit is contained in:
parent
d5e389fbd3
commit
afa51fdabc
|
@ -55,9 +55,15 @@ Once everything is built, you can run bitcore-node via:
|
|||
```bash
|
||||
npm start
|
||||
```
|
||||
|
||||
This will then start the syncing process for Bitcoin Core and the extended capabilities as provided by the built-in Address Module (details below).
|
||||
|
||||
### Fedora
|
||||
|
||||
Later versions of Fedora (>= 22) should also work with this project. The directions for Ubuntu should generally work except the installation of system utilities and libraries is a bit different. Git is already installed and ready for use without installation.
|
||||
|
||||
```bash
|
||||
yum install libtool automake autoconf pkgconfig openssl make gcc gcc-c++ kernel-devel openssl-devel.x86_64 patch
|
||||
```
|
||||
|
||||
### Mac OS X Yosemite
|
||||
|
||||
|
|
|
@ -61,7 +61,13 @@ if [ "${BITCORENODE_ENV}" == "test" ]; then
|
|||
options=`cat ${root_dir}/bin/config_options_test.sh`
|
||||
fi
|
||||
|
||||
patch_file_sha=$(shasum -a 256 "${root_dir}/etc/bitcoin.patch" | awk '{print $1}')
|
||||
if hash shasum 2>/dev/null; then
|
||||
shasum_cmd="shasum -a 256"
|
||||
else
|
||||
shasum_cmd="sha256sum"
|
||||
fi
|
||||
|
||||
patch_file_sha=$(${shasum_cmd} "${root_dir}/etc/bitcoin.patch" | awk '{print $1}')
|
||||
last_patch_file_sha=
|
||||
if [ -e "${patch_sha}" ]; then
|
||||
echo "Patch file sha exists, let's see if the patch has changed since last build..."
|
||||
|
|
Loading…
Reference in New Issue