commit aa7ad0c
hovercats
·
2026-02-13 23:11:23 +0000 UTC
parent 55b2c81
chksum_pkg: add test for .submodule file if no sha256 file exists
1 files changed,
+5,
-1
M
rcpm
M
rcpm
+5,
-1
1@@ -39,7 +39,11 @@ fn chksum_pkg {
2 cd $RCPM_PATH/$pkg
3 dl_pkg
4 if (test -f sha256) sha256sum -c sha256
5- if not errexit 'sha256 file not found, cannot verify sha256sum!'
6+ if not {
7+ if (test ! -f .submodule) {
8+ errexit 'No submodule or sha256 file found!'
9+ }
10+ }
11 }
12
13 fn unpack_pkg {