forked from kiss-community/kiss
kiss: Fix issue with bsdtar
This commit is contained in:
parent
ec3284d183
commit
0f13158dfa
2
kiss
2
kiss
@ -149,7 +149,7 @@ pkg_conflicts() {
|
|||||||
log "Checking for package conflicts."
|
log "Checking for package conflicts."
|
||||||
|
|
||||||
# Extract manifest from tarball and strip directories.
|
# Extract manifest from tarball and strip directories.
|
||||||
tar xf "$bin_dir/$pkg" "./var/db/$kiss/$name/manifest" -O |
|
tar xf "$bin_dir/$pkg" -O "./var/db/$kiss/$name/manifest" |
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
[ "${line%%*/}" ] && printf '%s\n' "$line" >> "$cac_dir/manifest-$$"
|
[ "${line%%*/}" ] && printf '%s\n' "$line" >> "$cac_dir/manifest-$$"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user