diff --git a/bash/aptinfo.sh b/bash/aptinfo.sh index 734e237..56bbd8d 100755 --- a/bash/aptinfo.sh +++ b/bash/aptinfo.sh @@ -1,4 +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) +apt-cache show $(apt-file search $(readlink -f "$(which $1)") | cut -d ":" -f 1) exit 0