diff options
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 |
