Merge "Remove use of sudo from yum pre and post elements"
This commit is contained in:
commit
2d7885a984
@ -3,5 +3,5 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
sudo sed -i 's/keepcache=1/keepcache=0/' /etc/yum.conf
|
||||
sudo sed -i 's/cachedir=\/tmp\/yum/cachedir=\/var\/cache\/yum/' /etc/yum.conf
|
||||
sed -i 's/keepcache=1/keepcache=0/' /etc/yum.conf
|
||||
sed -i 's/cachedir=\/tmp\/yum/cachedir=\/var\/cache\/yum/' /etc/yum.conf
|
||||
|
@ -3,5 +3,5 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
sudo sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf
|
||||
sudo sed -i 's/cachedir=\/var\/cache\/yum/cachedir=\/tmp\/yum/' /etc/yum.conf
|
||||
sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf
|
||||
sed -i 's/cachedir=\/var\/cache\/yum/cachedir=\/tmp\/yum/' /etc/yum.conf
|
||||
|
Loading…
Reference in New Issue
Block a user