Browse Source

Fix shebang line after setup

master
Jim Paris 7 months ago
parent
commit
0af42b8217
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      initial-setup.sh

+ 6
- 2
initial-setup.sh View File

@@ -286,7 +286,7 @@ EOF
fi
}

update_readme()
update_paths()
{
sed -i \
-e "s!\${HOSTNAME}!$(hostname)!g" \
@@ -295,6 +295,10 @@ update_readme()
-e "s!\${BACKUP_HOST}!${BACKUP_HOST}!g" \
-e "s!\${BACKUP_REPO}!${BACKUP_REPO}!g" \
README.md

sed -i\
-e "1c#!${BORG_DIR}/.venv/bin/python" \
backup.py
}

git_setup()
@@ -322,7 +326,7 @@ configure_ssh
create_repo
export_keys
configure_systemd
update_readme
update_paths
git_setup

echo


Loading…
Cancel
Save