Skip to content

Commit

Permalink
Fix migrate script in first installation
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Dec 9, 2021
1 parent 568a3d5 commit 3a09200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/run_always_before_0_migrate.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -euo pipefail
migrated=false

# Migrate from .chezmoi.toml.tmpl to chezmoi.yaml.tmpl
# {{ if not (hasSuffix ".yaml" .chezmoi.configFile) }}
# {{ if and (stat .chezmoi.configFile) (not (hasSuffix ".yaml" .chezmoi.configFile)) }}
red "⚠️ Detected old configuration file at '{{ .chezmoi.configFile }}'. Deleting it..."
rm -f "{{ .chezmoi.configFile }}"
migrated=true
Expand Down

0 comments on commit 3a09200

Please sign in to comment.