Alessandro Del Prete commented on issue #174 at Volian Linux / nala

Alessandro Del Prete
2022-09-09T13:02:39Z

Thank you Blake, I rechecked everything and confirm it's working fine. Probably the first time I tried (manually copying files) I mixed the sources file between OS releases.

Now I scripted it with a chezmoi template and it works beautifully.

{{ if eq .chezmoi.osRelease.id "debian" -}}
echo "Copying nala sources for debian"
sudo cp nala-sources-debian.list /etc/apt/sources.list.d/nala-sources.list
{{ else if eq .chezmoi.osRelease.id "ubuntu" }}
echo "Copying nala sources for ubuntu"
sudo cp nala-sources-ubuntu.list /etc/apt/sources.list.d/nala-sources.list
{{ end -}}

Thanks a lot for the help. 😄