commit 93cb0e2

hovercats  ·  2026-02-13 22:56:36 +0000 UTC
parent 014e522
test if url exists before unpacking
1 files changed,  +1, -1
M rcpm
M rcpm
+1, -1
1@@ -96,7 +96,7 @@ fn install_pkg {
2 fn build_pkg {
3 	cd $RCPM_PATH/$pkg
4 	chksum_pkg $pkg
5-	unpack_pkg $archive
6+	if (test -f url) unpack_pkg $archive
7 	cd src
8 	destdir=/tmp/$pid/$pkg
9 	../build