diff --git a/install.sh b/install.sh index 2748c98..7c3801d 100755 --- a/install.sh +++ b/install.sh @@ -47,6 +47,6 @@ if (( $rc != 0 )); then exit $rc 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!"