[gentoo-user] quickpkg nice-to-have
It sure would be nice if quickpkg would at least save config files by default, like to inittab.saved, for when you forget to supply --include-unmodified-config empty file because --include-config=n when 'quickpkg' was used. If the installation can test if the target config file is modified, then it could go ahead and save it at the same time.
Re: [gentoo-user] quickpkg nice-to-have
On 6/3/21 3:14 PM, n952162 wrote: It sure would be nice if quickpkg would at least save config files by default, like to inittab.saved, for when you forget to supply --include-unmodified-config empty file because --include-config=n when 'quickpkg' was used. If the installation can test if the target config file is modified, then it could go ahead and save it at the same time. I this case, I copied /etc/inittab from the host
Re: [gentoo-user] quickpkg nice-to-have
On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote: > It sure would be nice if quickpkg would at least save config files by > default, like to inittab.saved, for when you forget to supply > --include-unmodified-config > > empty file because --include-config=n when 'quickpkg' was used. alias quickpkg='quickpkg --include-unmodified-config=y' ;-) -- Neil Bothwick Talk is cheap because supply exceeds demand. pgpI36vsnub8L.pgp Description: OpenPGP digital signature
Re: [gentoo-user] quickpkg nice-to-have
On 6/3/21 4:52 PM, Neil Bothwick wrote: On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote: It sure would be nice if quickpkg would at least save config files by default, like to inittab.saved, for when you forget to supply --include-unmodified-config empty file because --include-config=n when 'quickpkg' was used. alias quickpkg='quickpkg --include-unmodified-config=y' ;-) yeah, that's a good idea. But I think my suggestion is also good. The problem with such cover-my-ass aliases is they're never there when you need them - and dependent on them.
Re: [gentoo-user] quickpkg nice-to-have
On Thu, 2021-06-03 at 16:58 +0200, n952162 wrote: > On 6/3/21 4:52 PM, Neil Bothwick wrote: > > > > alias quickpkg='quickpkg --include-unmodified-config=y' ;-) > > > > > yeah, that's a good idea. But I think my suggestion is also good. > > The problem with such cover-my-ass aliases is they're never there when > you need them - and dependent on them. This is why I keep my bashrc in a git repository and just deploy it onto any machine I have to manage, because I also rely quite heavily on aliases, functions, et cetera.