aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss7
1 files changed, 1 insertions, 6 deletions
diff --git a/kiss b/kiss
index 7e38f14..b86b50d 100755
--- a/kiss
+++ b/kiss
@@ -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.