Browse Source

Fix binary names for debian packages

zview
Duke Leto 5 years ago
parent
commit
0b88e9c2e8
  1. 5
      src/hush-cli
  2. 5
      src/hush-cli-testnet
  3. 10
      src/hush-tx
  4. 10
      src/hushd
  5. 10
      src/hushd-testnet

5
src/hush-cli

@ -8,4 +8,9 @@ cd $DIR
NAME=HUSH3
CLI=${KOMODOCLI:-./komodo-cli}
# Debian packages prefix binaries with hush-
# so we prevent conflicting with official komodod
if [ ! -e "$CLI" ]; then
CLI=hush-komodo-cli
fi
$CLI -ac_name=$NAME "$@"

5
src/hush-cli-testnet

@ -8,4 +8,9 @@ cd $DIR
NAME=HUSH3T
CLI=${KOMODOCLI:-./komodo-cli}
# Debian packages prefix binaries with hush-
# so we prevent conflicting with official komodod
if [ ! -e "$CLI" ]; then
CLI=hush-komodo-cli
fi
$CLI -ac_name=$NAME "$@"

10
src/hush-tx

@ -5,6 +5,12 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
NAME=HUSHT
NAME=HUSH3
./komodo-tx -ac_name=$NAME "$@"
TX=${KOMODOTX:-./komodo-tx}
# Debian packages prefix binaries with hush-
# so we prevent conflicting with official komodod
if [ ! -e "$TX" ]; then
TX=hush-komodo-tx
fi
$TX -ac_name=$NAME "$@"

10
src/hushd

@ -37,10 +37,14 @@ ORACLE=236
GATEWAY=241
CCENABLE=$FAUCET,$HEIR,$CHANNEL,$ORACLE,$GATEWAY
#NOTE: This is not compatible with upstream KMD komodod,
# but you can reuse one hush3 komodod binary in various
# directories/repos on one server, to save disk space
KMD=${KOMODOD:-./komodod}
# Debian packages prefix binaries with hush-
# so we prevent conflicting with official komodod
if [ ! -e "$KMD" ]; then
KMD=hush-komodod
fi
$KMD -ac_name=$NAME -ac_sapling=1 \
-ac_reward=$REWARD \
-ac_halving=$HALVING \

10
src/hushd-testnet

@ -33,10 +33,14 @@ ORACLE=236
GATEWAY=241
CCENABLE=$FAUCET,$HEIR,$CHANNEL,$ORACLE,$GATEWAY
#NOTE: This is not compatible with upstream KMD komodod,
# but you can reuse one hush3 komodod binary in various
# directories/repos on one server, to save disk space
KMD=${KOMODOD:-./komodod}
# Debian packages prefix binaries with hush-
# so we prevent conflicting with official komodod
if [ ! -e "$KMD" ]; then
KMD=hush-komodod
fi
$KMD -ac_name=$NAME -ac_sapling=1 \
-ac_reward=$REWARD \
-ac_halving=$HALVING \

Loading…
Cancel
Save