blob: 4a488f3d9b3706b6fd37a3e360865723fdc7daa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
## arg 1: the new package version
post_install() {
groupadd -r sol
chown root:sol /usr/lib/solana/sdk/bpf/dependencies
echo "Add yourself to the sol group to be able to install dependencies"
echo "when using cargo-build-bpf"
}
## arg 1: the old package version
post_remove() {
groupdel sol
}
|