How can we figure out if a package is core or not?
Javier Lopez
m at javier.io
Sat Oct 11 01:08:16 UTC 2014
On 11/10/14 at 01:42am, Alberto Salvia Novella wrote:
> Thomas Ward:
> >Running `apt-cache
> >show pff-tools` actually shows the information even though the package
> >is not installed.
>
> Yes, but it doesn't show if there's a task related with the package.
> So it doesn't help figuring out if the package is core or not.
I use this alias:
alias core.package='sh -c '\''apt-cache show "${1}" | grep -i task >/dev/null && echo yes || echo no'\'' -'
https://github.com/chilicuil/dotfiles/blob/master/.aliases#L33
Like this:
$ core.package firefox
yes
$ core.package conky
no
Hope it helps,
Cheers
> --
> Ubuntu-quality mailing list
> Ubuntu-quality at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality
More information about the Ubuntu-quality
mailing list