SHA256
install pbc with an explicit mode and owner
This commit is contained in:
+1
-1
@@ -47,6 +47,6 @@ if (( $rc != 0 )); then
|
|||||||
exit $rc
|
exit $rc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
! mv "$WORK_DIR/pbc" /usr/local/bin/pbc && echo 'Error moving file!' >&2 && exit 20
|
! install -m 0755 -o root -g root "$WORK_DIR/pbc" /usr/local/bin/pbc && echo 'Error installing file!' >&2 && exit 20
|
||||||
|
|
||||||
echo "Success!"
|
echo "Success!"
|
||||||
|
|||||||
Reference in New Issue
Block a user