1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-21 16:53:33 +01:00

[ssh] use dotbot for chmodding ./ssh/config

This changes the place to do so from what was introduced in b553944b
This commit is contained in:
Eric Teunis de Boone 2022-02-09 18:02:08 +01:00
parent ccba451d3d
commit 7edec3a7a7
2 changed files with 1 additions and 4 deletions

View file

@ -42,4 +42,5 @@
command: ./bin/Xresources-preprocess command: ./bin/Xresources-preprocess
description: Preprocess Xresources.src so that xrdb doesn't have to. description: Preprocess Xresources.src so that xrdb doesn't have to.
stderr: true stderr: true
- [chmod 600 ./ssh/config, Ensure ./ssh/config only read/writable for owner]
# - git submodules update # after linking ~/.gitconfig # - git submodules update # after linking ~/.gitconfig

View file

@ -13,7 +13,3 @@ git pull || echo "Pulling from remote failed"
git submodule update --init --recursive "${DOTBOT_DIR}" git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
# Make sure ssh/config is only read/writable for owner
chmod 600 ssh/config