aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-12-09 14:15:18 +0100
committerRasmus Thomsen <oss@cogitri.dev>2021-01-09 10:10:13 +0000
commit3b1c9c49e32831376673b37030fb051488b9da19 (patch)
tree344b9c607316baf35ad06cba2bcb01e522bb8eb6
parentc698ba119a3553ff99f047b4a1f7919eb3633cfc (diff)
downloadaports-3b1c9c49e32831376673b37030fb051488b9da19.tar.gz
aports-3b1c9c49e32831376673b37030fb051488b9da19.tar.bz2
aports-3b1c9c49e32831376673b37030fb051488b9da19.tar.xz
community/rust: fix zshcomp location
fixes #12175
-rw-r--r--community/rust/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/rust/APKBUILD b/community/rust/APKBUILD
index ea9c21ec9c..40237dd6df 100644
--- a/community/rust/APKBUILD
+++ b/community/rust/APKBUILD
@@ -7,7 +7,7 @@ pkgname=rust
pkgver=1.47.0
_llvmver=10
_bootver=1.46.0
-pkgrel=1
+pkgrel=2
pkgdesc="The Rust Programming Language"
url="https://www.rust-lang.org"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le"
@@ -284,7 +284,7 @@ _cargo_zshcomp() {
cd "$pkgdir"
_mv usr/share/zsh/site-functions/_cargo \
- "$subpkgdir"/usr/share/zsh/site-functions/_cargo
+ "$subpkgdir"/usr/share/zsh/site-functions/
rmdir -p usr/share/zsh/site-functions 2>/dev/null || true
}