diff options
Diffstat (limited to 'hyperledger-fabric.install')
-rw-r--r-- | hyperledger-fabric.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hyperledger-fabric.install b/hyperledger-fabric.install new file mode 100644 index 000000000000..2b5320ccb02b --- /dev/null +++ b/hyperledger-fabric.install @@ -0,0 +1,14 @@ +post_install() { + echo "Add this line to /etc/environment" + echo " export FABRIC_CFG_PATH=/etc/hyperledger/fabric/" +} + + +post_upgrade() { + post_install $1 +} + +post_remove() { + echo "Remove this line to /etc/environment" + echo " export FABRIC_CFG_PATH=/etc/hyperledger/fabric/" +} |