update_psa: when called with an argument, skip test for available
updates, executing 'git pull' in any case.
This commit is contained in:
parent
42fb74a041
commit
7a35039dad
@ -28,11 +28,13 @@ collect_current_configuration () {
|
|||||||
#done
|
#done
|
||||||
}
|
}
|
||||||
|
|
||||||
update_psa() {
|
update_psa() { # calling with a parameter is used for testing
|
||||||
|
|
||||||
if ! updates_available; then # check for false alarm
|
if [ $# -eq 0 ]; then
|
||||||
update_psa_false_alarm "update requested, but no WAIT state detected"
|
if ! updates_available; then # check for false alarm
|
||||||
exit $?
|
update_psa_false_alarm "update requested, but no WAIT state detected"
|
||||||
|
exit $EXITCODE
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update_psa_activated # message to ISMAS
|
update_psa_activated # message to ISMAS
|
||||||
|
Loading…
Reference in New Issue
Block a user