commit 96aecd0

hovercats  ·  2025-06-05 10:26:34 +0000 UTC
parent d1d249f
connect printing and unpacking together, so that we dont print about installtion being successfull, regardless of wether tarball exists

this will do untill I write a better solution
1 files changed,  +2, -2
M rcpm
M rcpm
+2, -2
 1@@ -96,8 +96,8 @@ fn gen_manifest {
 2 fn install_pkg {
 3 	cd $RCPM_ROOT
 4 	get_ver
 5-	check_prebuilt || gzip -dc $RCPM_CACHE/$pkg@$ver-$rev.tar.gz | pax -r
 6-	log $pkg installed successfully
 7+	check_prebuilt || {gzip -dc $RCPM_CACHE/$pkg@$ver-$rev.tar.gz | pax -r
 8+	log $pkg installed successfully}
 9 }
10 
11 fn build_pkg {