Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Undocumented feature of update-repo

In my newly improved apt-based update-repo function, there is a neat feature I failed to describe elsewhere.

Because the function looks for files in /etc/apt/sources.list.d/ that match glob ${NAME}.list, you can run update-repo with:

update-repo ../sources

And it will update the normal Devuan repositories. I really should have put that in the documentation somewhere. Well, here it is now.

Comments