Make sure we're not on Arch before nuking tmpfs dir
This commit is contained in:
@@ -1433,7 +1433,7 @@ exit_cleanup() {
|
||||
|
||||
# Remove RPM temporary files left
|
||||
rm -rf ${HOME}/.cache/linux-tkg-rpmbuild
|
||||
if [ "$_use_tmpfs" = "true" ]; then
|
||||
if [ "$_distro" != "Arch" ] && [ "$_use_tmpfs" = "true" ]; then
|
||||
rm -rf "$_tmpfs_path/linux-tkg"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user