From b2d348d492cef0dd4fd0decfaf66d912f03682af Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Sat, 16 Dec 2006 17:09:42 +0000 Subject: Always prefix SLX_STAGE1_PATH if we cleanup the chroot. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@555 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/slxossetup | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'installer') diff --git a/installer/slxossetup b/installer/slxossetup index 69e7cf0b..35c68623 100755 --- a/installer/slxossetup +++ b/installer/slxossetup @@ -124,9 +124,7 @@ function slxossetup_rpm() # Cleanup etc to prevent .rpnnew files if test "${SLX_BASE_PREREQ_CLEANUP_PATH}"; then for path in ${SLX_BASE_PREREQ_CLEANUP_PATH}; do - # Remove leading / as we do not like to delete e.g. /etc - path="${path#/}" - find "${path}" -type f -print0 | \ + find "${SLX_STAGE1_PATH}/${path}" -type f -print0 | \ xargs -0 rm -f done fi -- cgit v1.2.3-55-g7522