Replace sudo with run0 in all scripts
This commit is contained in:
parent
30aa59ddfd
commit
5ca5d6386d
7 changed files with 22 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue