Replace sudo with run0 in all scripts

This commit is contained in:
Ohad Livne 2025-06-04 22:54:22 +03:00
parent 30aa59ddfd
commit 5ca5d6386d
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
7 changed files with 22 additions and 24 deletions

View file

@ -3,8 +3,8 @@
set -euo pipefail
IFS=$'\n\t'
sudo mkdir --parents "${BORG_REPO}"
sudo chown "${USER}":"${USER}" "${BORG_REPO}"
sudo chmod 700 "${BORG_REPO}"
run0 mkdir --parents "${BORG_REPO}"
run0 chown "${USER}":"${USER}" "${BORG_REPO}"
run0 chmod 700 "${BORG_REPO}"
borg init --encryption=repokey