use of newly implemented functions
This commit is contained in:
parent
cb7cb51b24
commit
24ead237cc
@ -89,9 +89,9 @@ update() {
|
|||||||
revert_customer_repository ; exit 1
|
revert_customer_repository ; exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: implementieren, opkg pakete ausschliessen
|
local files=$(changed_file_names)
|
||||||
files=$(changed_file_names)
|
|
||||||
if ! check_md5_for_changed_customer_files $files ; then
|
if ! check_md5_for_changed_conf_and_ini_files "$files" ; then
|
||||||
log_error "$func:${LINENO}: new customer files wrong"
|
log_error "$func:${LINENO}: new customer files wrong"
|
||||||
revert_customer_repository ; exit 1
|
revert_customer_repository ; exit 1
|
||||||
fi
|
fi
|
||||||
@ -125,7 +125,7 @@ update() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# perform a dry-run and check if everything might work as expected.
|
# perform a dry-run and check if everything might work as expected.
|
||||||
if ! exec_opkg_no_action $opkg_c; then
|
if ! exec_opkg_noaction $opkg_c; then
|
||||||
log_error "$func:${LINENO}: "\
|
log_error "$func:${LINENO}: "\
|
||||||
"opkg --noaction $opkg_c failed"
|
"opkg --noaction $opkg_c failed"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user