pkg_conflicts: Fix path joining

This commit is contained in:
Dylan Araps 2021-07-16 12:21:13 +03:00
parent b9a81e347f
commit dd3292d920
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -1066,7 +1066,7 @@ pkg_conflicts() {
# Move the conflicting file to the choices directory
# and name it according to the format above.
mv -f "$tar_dir/$p_name/$con" \
mv -f "$tar_dir/$p_name$con" \
"$tar_dir/$p_name/$cho_dir/$p_name$con_name" 2>/dev/null || {
log "File must be in ${con%/*} and not a symlink to it"
log "This usually occurs when a binary is installed to"