}
# package info
pl() {
- aptitude show "$@"
+ if type -p aptitude &>/dev/null; then
+ aptitude show "$@"
+ else
+ apt-cache show "$@"
+ fi
}
pfile() {
local file=$1
# package name. So, commenting this, waiting to find
# a config file only tracked by ucfq to see if it gives the
# package name and if I can identify this kind of file.
-# if [[ $file == /* ]] && ! ucfq -w $file | grep ::: &>/dev/null; then
-# ucfq $file
+ # if [[ $file == /* ]] && ! ucfq -w $file | grep ::: &>/dev/null; then
+ # ucfq $file
if [[ $file == */* ]]; then
apt-file find -x "$file"\$