Run apt-get update onlyif condition