about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxrevshlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrevshlib b/xrevshlib
index c533868..e9292f9 100755
--- a/xrevshlib
+++ b/xrevshlib
@@ -5,7 +5,7 @@ pkg="${1?no package name given}"
 
 xsubpkg "$pkg" |
 	xargs -d'\n' -n1 -r xbps-query -R -p shlib-provides -S |
-	sed 's/\.so.*//' |
+	sed 's/\.so.*/.so/' |
 	xargs -d'\n' -n1 -r xbps-query -R -p shlib-requires -s |
 	sed 's/-[^- ]*: .*//' |
 	sort -u |