Merge "Enable saving of rpms"
This commit is contained in:
commit
bf745be97f
|
@ -43,7 +43,9 @@ if $(! echo $installed | grep -qw $plugin) && $($PKG list available $plugin >/de
|
|||
$PKG install -y $plugin
|
||||
fi
|
||||
|
||||
$PKG -y update $packages_for_update
|
||||
YUM_OPTS="{% if yum_cache is defined and yum_cache %}--setopt=keepcache=1{% endif %}"
|
||||
|
||||
$PKG -y update $YUM_OPTS $packages_for_update
|
||||
{% if yum_cache is defined and yum_cache %}
|
||||
sync
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue