2021-08-31 17:18:38 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# shows `apt-cache show`information for a package that given binary belongs to (relative path)
|
2021-08-31 17:42:21 +02:00
|
|
|
#apt-cache show $(apt-file search $(readlink -f "$(which $1)") | cut -d ":" -f 1)
|
|
|
|
apt-cache show $(dpkg -S $(readlink -f "$(which $1)") | cut -d ":" -f 1)
|
2021-08-31 17:18:38 +02:00
|
|
|
exit 0
|