[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
92f97bddb9
commit
b93080d246
@ -10,10 +10,10 @@ if [ -z "$REAL_COMMAND" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
INSTALL=$(check_apt_install)
|
||||
INSTALL=$(check_apt_install "$@")
|
||||
COMMAND_INFO="Locked by command: $REAL_COMMAND $@"
|
||||
if [ "$INSTALL" == y ]; then
|
||||
check_apt_version
|
||||
check_apt_version "$@"
|
||||
lock_result=$(acquire_apt_installation_lock "$COMMAND_INFO" )
|
||||
$REAL_COMMAND "$@"
|
||||
command_result=$?
|
||||
|
@ -207,6 +207,10 @@ check_apt_version()
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "$para" == "install" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ "$para" == *=* ]]; then
|
||||
continue
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user