Skip to content

Commit b0b6af9

Browse files
committed
Look for temp repos directory in TARGET_ROOT
1 parent 6041ad4 commit b0b6af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/rocky-container-stackhpc/cleanup.d/80-cleanup-and-restore-repofiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DIB_ROCKY_CONTAINER_STACKHPC_RESTORE_UPSTREAM_REPOFILES=${DIB_ROCKY_CONTAINER_ST
1111
[ -n "$TARGET_ROOT" ]
1212

1313
# Remove custom repo files
14-
if [ -d /tmp/orig_repos ]; then
14+
if [ -d "${TARGET_ROOT}/tmp/orig_repos" ]; then
1515
sudo rm -f ${TARGET_ROOT}/etc/yum.repos.d/*.repo
1616
fi
1717

0 commit comments

Comments
 (0)