*/*: Drop force flag from rm calls

This commit is contained in:
Nils Freydank 2021-07-12 19:23:24 +02:00
parent 7bcd621638
commit 51c2c0ab22
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
4 changed files with 5 additions and 6 deletions

View File

@ -13,7 +13,7 @@ IUSE=""
src_prepare() { src_prepare() {
# bluntly remove the makefile. # bluntly remove the makefile.
rm -f Makefile || die "Couldn't remove Makefile" rm Makefile || die "Couldn't remove Makefile"
default default
} }

View File

@ -28,7 +28,7 @@ DOCS=( README.md )
src_prepare(){ src_prepare(){
default default
rm -rf test || die rm -r test || die
} }
src_compile(){ src_compile(){

View File

@ -58,7 +58,7 @@ RDEPEND="
" "
src_install() { src_install() {
rm -rf tests || die rm -r tests || die
vim-plugin_src_install vim-plugin_src_install
insinto usr/share/${PN} insinto usr/share/${PN}
} }

View File

@ -31,11 +31,10 @@ src_prepare() {
default default
if ! use test; then if ! use test; then
rm -rf test || die rm -r test Dockerfile || die
rm -f Dockerfile || die
fi fi
# We store the appropriate license information inside the portage tree. # We store the appropriate license information inside the portage tree.
rm -rf LICENSE.md || die rm -r LICENSE.md || die
} }
pkg_postinst() { pkg_postinst() {