crypto: handle nested p2pool archive layout
This commit is contained in:
parent
1bbb88d9a3
commit
bbe4fb2cff
@ -47,7 +47,7 @@ spec:
|
||||
mkdir -p /opt/p2pool
|
||||
tar -xzf /tmp/p2pool.tgz -C /opt/p2pool
|
||||
ls -l /opt/p2pool
|
||||
BIN="$(find /opt/p2pool -maxdepth 1 -type f -name 'p2pool*' | head -n1)"
|
||||
BIN="$(find /opt/p2pool -maxdepth 2 -type f -name 'p2pool*' | head -n1)"
|
||||
test -n "${BIN}"
|
||||
install -m0755 "${BIN}" /opt/p2pool/p2pool
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user