forked from kiss-community/kiss
kiss: Remove file conflict check for now.
This commit is contained in:
parent
69d7954106
commit
1260e75fb5
7
kiss
7
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.
|
||||
|
Loading…
Reference in New Issue
Block a user