1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -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.
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.