[Build][Bug]: fix the warning message not printed as expected issue (#10278)
Fix the warning message not printed as expected issue
This commit is contained in:
parent
fb7f046143
commit
ed4f19fb28
@ -10,10 +10,10 @@ if [ -z "$REAL_COMMAND" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
INSTALL=$(check_apt_install)
|
INSTALL=$(check_apt_install "$@")
|
||||||
COMMAND_INFO="Locked by command: $REAL_COMMAND $@"
|
COMMAND_INFO="Locked by command: $REAL_COMMAND $@"
|
||||||
if [ "$INSTALL" == y ]; then
|
if [ "$INSTALL" == y ]; then
|
||||||
check_apt_version
|
check_apt_version "$@"
|
||||||
lock_result=$(acquire_apt_installation_lock "$COMMAND_INFO" )
|
lock_result=$(acquire_apt_installation_lock "$COMMAND_INFO" )
|
||||||
$REAL_COMMAND "$@"
|
$REAL_COMMAND "$@"
|
||||||
command_result=$?
|
command_result=$?
|
||||||
|
@ -213,6 +213,10 @@ check_apt_version()
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$para" == "install" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$para" == *=* ]]; then
|
if [[ "$para" == *=* ]]; then
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user