summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-27 12:58:46 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-27 12:58:46 (EDT)
commit1f009e937a1d2755912b28119d620eff5d4e6786 (patch)
treee3ed922a70459bd3d5d66ca351b891632a001d30
parent45e27cd82f2e77e0dc91c4132d783522dc536d44 (diff)
miniprokit.sh: Suggest fetching latest script.
-rwxr-xr-xminiprokit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/miniprokit.sh b/miniprokit.sh
index bfebc84..4eaf5ae 100755
--- a/miniprokit.sh
+++ b/miniprokit.sh
@@ -202,7 +202,8 @@ cmd_install()
"${root}/var/lib/opkg/lists/trunk_${aps}" | \
cut -d ' ' -f 1)"
printf '%s' "${SHA256SUMS}" | grep -Fq "${sha256sum} ${aps}" \
- || error 2 'Checksum of Packages index file failed'
+ || error 2 'Checksum of Packages index file failed%s' \
+ '; try fetching the latest miniprokit script'
done
printf '\ndest root /\n' >&3
printf 'arch %s 1\n' 'all' "${arch}" 'src' >&3