Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8b027f0 breaks install.sh on Amazon Linux #9

Open
pdehlke opened this issue Oct 12, 2024 · 1 comment
Open

#8b027f0 breaks install.sh on Amazon Linux #9

pdehlke opened this issue Oct 12, 2024 · 1 comment

Comments

@pdehlke
Copy link

pdehlke commented Oct 12, 2024

I confess that I do not understand this line, and I haven't been able to work out what chezmoi is doing here:

# {{ .chezmoi.osRelease.name }} - {{ .chezmoi.osRelease.versionCodename }}

But this line causes it to abort on Amazon Linux, and thus the install fails.

Happy to work on a PR if you can point me in the right direction.

pete@ip-10-0-101-200 ~]$ uname -a
Linux ip-10-0-101-200.ec2.internal 4.14.352-268.568.amzn2.aarch64 #1 SMP Tue Sep 24 10:00:34 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
[pete@ip-10-0-101-200 ~]$ sh -c "`curl -fsSL https://github.com/nandalopes/dotfiles/raw/main/root/bin/yadr/install.sh`"

...

chezmoi: .chezmoiscripts/post_install_yadr.sh: template: .chezmoiscripts/run_onchange_after_post_install_yadr.sh.tmpl:16:45: executing ".chezmoiscripts/run_onchange_after_post_install_yadr.sh.tmpl" at <.chezmoi.osRelease.versionCodename>: map has no entry for key "versionCodename"
[pete@ip-10-0-101-200 ~]$
@pdehlke
Copy link
Author

pdehlke commented Oct 12, 2024

Looking deeper this seems to break on anything that's not ubuntu. It would be a shame if this fantastic repo became specific to a single linux distro :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant