mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-07-08 19:20:48 +00:00
Replace cp and chmod with install command (#1236)
This commit is contained in:
+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