Skip to content
Snippets Groups Projects
Select Git revision
22 results Searching

agent.sh

Blame
  • user avatar
    Erik Alexandre Pucci authored and Josiney de Souza committed
    If $FIRST_EXECUTION is set, the added tests will force the agent to do the
    update process without really updating itself (i.e. running the downloaded
    update package). This is done by writting "0.0.0" to version file, restoring its
    real value after the fake update process is finished.
    
    In this way, the agent can inform the installer if some error ocurred during the
    process without replacing itself.
    
    Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
    Acked-by: default avatarKlismann Smoger Mottin <ksm09@inf.ufpr.br>
    Signed-off-by: default avatarJosiney de Souza <josineys@c3sl.ufpr.br>
    8d320491
    History
    agent.sh 5.17 KiB