Update .local/share/chezmoi/home/dot_local/bin/executable_provision, .local/bin/provision

This commit is contained in:
Brian Zalewski 2022-12-02 07:23:30 +00:00
parent e73c64905d
commit 6e1a2fa298
2 changed files with 3 additions and 5 deletions

View file

@ -181,7 +181,7 @@ fi
find /usr/local/src/hiawatha -maxdepth 1 -mindepth 1 -type d | while read FOLDER; do
BASENAME="$(basename "$FOLDER")"
# Prevent initial-scaffolding of OS-specific files since Chezmoi will handle them
if [[ "$BASENAME" != 'AppData' ]] && [[ "$BASENAME" != 'Library' ]]; then
if [ "$BASENAME" != 'AppData' ] && [ "$BASENAME" != 'Library' ] && [ "$BASENAME" != '.git' ]; then
if [ ! -d "$HOME/$BASENAME" ]; then
mkdir -p "$HOME/$BASENAME"
fi
@ -205,4 +205,4 @@ find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f | while read BINFILE; do
done
### Chezmoi
echo "Now run chezmoi init followed by chezmoi apply"
echo 'Now run `chezmoi init` followed by `chezmoi apply`'

View file

@ -1,7 +1,5 @@
#!/usr/bin/env bash
{{- includeTemplate "universal/logg" }}
set -eox pipefail
### Qubes dom0
@ -207,4 +205,4 @@ find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f | while read BINFILE; do
done
### Chezmoi
logg 'Now run `chezmoi init` followed by `chezmoi apply`'
echo 'Now run `chezmoi init` followed by `chezmoi apply`'