commit bbd07c2
hovercats
·
2025-06-05 11:10:57 +0000 UTC
parent 9447710
print `Warning` aswell if sha256 file is missing
1 files changed,
+2,
-2
M
rcpm
M
rcpm
+2,
-2
1@@ -31,7 +31,7 @@ fn dl_pkg {
2 if not log 'File already downloaded'
3 }
4 if not {
5- log 'sha256 file not found, downloading anyway...'
6+ log 'Warning: sha256 file not found, downloading anyway...'
7 curl -LK url -O
8 }
9 }
10@@ -71,6 +71,7 @@ fn get_ver {
11 rev=$version(2)
12
13 }
14+
15 fn packup_pkg {
16 mkdir -p ./$RCPM_DB/$pkg
17 get_ver
18@@ -122,7 +123,6 @@ fn build_pkg {
19 install_pkg
20 }
21
22-
23 fn get_local_ver {
24 _version=`{cat $RCPM_ROOT/$RCPM_DB/$pkg/ver}
25 _ver=$_version(1)