Project

General

Profile

action #54002

Updated by SLindoMansilla over 4 years ago

## Acceptance criteria 

 - **AC1:** There are no occurrences of **/.*_run.[' "]zypper.*/** 

 e.g.: 

 ```perl 
 # replace 
 $ret = script_run("zypper -n $command $printer; ( exit \${PIPESTATUS[0]} )", $timeout); 
 # to 
 $ret = zypper_call("-n $command $printer"); 
 ``` 


 The remaining occurences (after #51467 was done) where `zypper` is calles without using `zypper_call` are eg: 

 * One liner scripts where eg zypper output is piped somewhere 
 * Calls to `zypper lifecycle` that don't support the global `-n` option that `zypper_call` always adds 

 So we should decide, if they are worth being replaced as well.

Back