commit 6218020

hovercats  ·  2026-09-09 13:00:38 +0000 UTC
parent e246389
check if $destdir exist, and if it does, delete it to be sure we install into a clean directory
1 files changed,  +1, -0
M rcpm
M rcpm
+1, -0
1@@ -124,6 +124,7 @@ fn build_pkg {
2 	}
3 	cd src
4 	destdir=/tmp/$pid/$pkg
5+	test -d $destdir && rm -rf $destdir
6 	../build
7 	cd $destdir
8 	mkdir -p ./$rcpm_db/$pkg