1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: Remove file conflict check for now.

This commit is contained in:
Dylan Araps 2019-06-26 21:26:33 +03:00
parent 69d7954106
commit 1260e75fb5

7
kiss
View File

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