diff options
Diffstat (limited to 'common/hooks/post-install/04-create-xbps-metadata-scripts.sh')
-rw-r--r-- | common/hooks/post-install/04-create-xbps-metadata-scripts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh index 13d555bde21..8d3c74dd528 100644 --- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh +++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh @@ -12,7 +12,7 @@ _add_trigger() { process_metadata_scripts() { local action="$1" local action_file="$2" - local tmpf=$(mktemp) + local tmpf=$(mktemp || exit 1) local fpattern="s|${PKGDESTDIR}||g;s|^\./$||g;/^$/d" local targets= f= _f= info_files= home= shell= descr= groups= local found= triggers_found= _icondirs= _schemas= _mods= _tmpfiles= |