diff options
| author | Lars Müller | 2006-12-16 18:09:42 +0100 |
|---|---|---|
| committer | Lars Müller | 2006-12-16 18:09:42 +0100 |
| commit | b2d348d492cef0dd4fd0decfaf66d912f03682af (patch) | |
| tree | 460da52e334a38aac5d1c2a5d50ddf4fe80eb64c /installer | |
| parent | Add SLX_INSTALL_BIND_MOUNT and SLX_INSTALL_FAKE_FILE to make the Fedora (diff) | |
| download | core-b2d348d492cef0dd4fd0decfaf66d912f03682af.tar.gz core-b2d348d492cef0dd4fd0decfaf66d912f03682af.tar.xz core-b2d348d492cef0dd4fd0decfaf66d912f03682af.zip | |
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
Diffstat (limited to 'installer')
| -rwxr-xr-x | installer/slxossetup | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
