mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-10-21 13:50:57 +00:00
Replace cp and chmod with install command (#1236)
This commit is contained in:
1 parent
0d9bf41ce3
commit
53e16bf92e
1 file changed
+1
-2
+1
-2
@@ -375,8 +375,7 @@ install_binary() {
|
||||
fi
|
||||
echo "Installing backrest to /usr/local/bin"
|
||||
sudo mkdir -p /usr/local/bin
|
||||
sudo cp "$src" /usr/local/bin/backrest
|
||||
sudo chmod +x /usr/local/bin/backrest
|
||||
sudo install -m 755 "$src" /usr/local/bin/backrest
|
||||
}
|
||||
|
||||
# =============================================================================
|
||||
|
||||
Reference in new issue
Block a user