ba5aa8725e
Fix the test for $TARGET_ROOT in root.d/50-yum-cache. Don't use $TARGET_ROOT in pre-install, it's only set for "root" and "cleanup". Change-Id: I048364ea08ef503a4466f3494f18f72ebf99b5c2
6 lines
154 B
Bash
Executable file
6 lines
154 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
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
|