This commit is contained in:
zeus 2021-08-31 17:18:38 +02:00
parent 827fe99782
commit 0eb1ec6d86

4
bash/aptinfo.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# shows `apt-cache show`information for a package that given binary belongs to (relative path)
apt-cache show $(apt-file search $(which $1) | cut -d ":" -f 1)
exit 0