diff options
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -155,12 +155,7 @@ pkg_conflicts() { # Extract manifest from tarball and strip directories. tar xf "$bin_dir/$pkg" -O "./var/db/$kiss/$name/manifest" | while read -r line; do - [ "${line%%*/}" ] && { - printf '%s\n' "$line" >> "$cac_dir/manifest-$$" - continue - } - - [ ! -f "$sys_dir$line" ] || die "Conflict: $line already exists." + [ "${line%%*/}" ] && printf '%s\n' "$line" >> "$cac_dir/manifest-$$" done || die "Found file conflicts." # Compare extracted manifest to all installed manifests. |