summarylogtreecommitdiffstats
path: root/hyperledger-fabric.install
blob: e51194c79360a6cb5a93a0aa71219c4f0fd5936a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    chmod 644 /etc/hyperledger/fabric/tls/*
    rm -rf /crypto-config
}

post_remove() {
    cat << EOF
===> WARNING!!!"
 Be sure to save your backup data"
 /etc/hyperledger/fabric/tls should be deleted manually"

===> Remember to review /usr/lib/environment.d/fabric-peer.conf
EOF
}