Fixed
Details
Assignee
Jesse WhiteJesse WhiteReporter
Will KeaneyWill KeaneyComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Jesse White
Jesse WhiteReporter
Will Keaney
Will KeaneyComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created June 29, 2023 at 9:32 PM
Updated July 12, 2023 at 6:05 PM
Resolved July 12, 2023 at 6:04 PM
The “
Clean out the data directory
" step of the package postinstall script checks whether${ROOT_INST}/data/tmp
is a directory.If it is, the script runs
find "$ROOT_INST/data/tmp"/* -maxdepth 0 -name README -prune -o -print0 | xargs -0 rm -rf
However, if the
tmp
directory exists and is empty, the find command will exit with an error and a non-zero exit code.This may cause package installation evaluation to assume that the install failed, resulting in the package manager also exiting with a non-zero exit code.