about summary refs log tree commit diff
path: root/xdowngrade
diff options
context:
space:
mode:
Diffstat (limited to 'xdowngrade')
-rwxr-xr-xxdowngrade1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdowngrade b/xdowngrade
index 443f357..c7ce16b 100755
--- a/xdowngrade
+++ b/xdowngrade
@@ -7,6 +7,7 @@ xbps-rindex -a $T/*
 pkg=
 for f; do
 	f=${f##*/}
+	f=${f%.*.*}
 	pkg="$pkg ${f%-*}"
 done
 xbps-install -i -R $T -f $pkg