Add a function to overwrite just the version and sha256 by grepping them
This commit is contained in:
parent
64274e9981
commit
258040a939
@ -246,6 +246,12 @@ do_overwrite () {
|
|||||||
mv "$1.new.tmp" "$1"
|
mv "$1.new.tmp" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_overwrite_just_version () {
|
||||||
|
ensure_hash
|
||||||
|
set_var_value version $CURRENT_VERSION
|
||||||
|
set_var_value sha256 $CURRENT_HASH
|
||||||
|
}
|
||||||
|
|
||||||
process_config () {
|
process_config () {
|
||||||
CONFIG_DIR="$(directory_of "$1")"
|
CONFIG_DIR="$(directory_of "$1")"
|
||||||
CONFIG_NAME="$(basename "$1")"
|
CONFIG_NAME="$(basename "$1")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user