rust: remove more unneeded stuff

This commit is contained in:
Dylan Araps 2021-07-06 16:03:16 +03:00
parent ad4bc79bae
commit 85e9114ed1
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -76,5 +76,9 @@ export DESTDIR="$1"
python3 ./x.py build -j "$(nproc)"
python3 ./x.py install
rm -rf "$1/usr/lib/rustlib/src/"
rm -f "$1/usr/lib/rustlib/uninstall.sh"
rm -rf \
"$1/usr/lib/rustlib/src/" \
"$1/usr/share/doc" \
"$1/usr/share/zsh" \
"$1/usr/lib/rustlib/uninstall.sh"