mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
make: compare hash as well on "upgrade"
Helps with development and git commit --amend.
This commit is contained in:
parent
d1d2e7e75e
commit
0aa6a10a21
4
Makefile
4
Makefile
@ -341,8 +341,8 @@ upgrade-check:
|
||||
echo ">>> Cannot find package. Please run 'opnsense-update -t ${CORE_NAME}'" >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if [ "$$(${VERSIONBIN} -v)" = "${CORE_PKGVERSION}" ]; then \
|
||||
echo "Installed version already matches ${CORE_PKGVERSION}" >&2; \
|
||||
@if [ "$$(${VERSIONBIN} -vH)" = "${CORE_PKGVERSION} ${CORE_HASH}" ]; then \
|
||||
echo "Installed version already matches ${CORE_PKGVERSION} ${CORE_HASH}" >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user