diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-26 15:36:47 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-26 15:36:47 +0100 |
commit | 3037d2945009fb767fe9de041ec85919c6f0cd76 (patch) | |
tree | efee572b900a7dddb68fa7b590faef518a63602c | |
parent | 825bbd392bad1450e0dd5d6f2a1455c47d5bab8a (diff) | |
download | xtools-3037d2945009fb767fe9de041ec85919c6f0cd76.tar.gz xtools-3037d2945009fb767fe9de041ec85919c6f0cd76.tar.xz xtools-3037d2945009fb767fe9de041ec85919c6f0cd76.zip |
xdowngrade: fix for architectures with - in name.
Closes #28.
-rwxr-xr-x | xdowngrade | 1 |
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 |