aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-06-23 21:18:05 +0000
committermerakor <cem@ckyln.com>2021-06-23 21:18:05 +0000
commit4ecfa39446c156e4283dae252532ce8548c72652 (patch)
treed59a035e556b3c984974549fc85e06afa993ff04 /src
parentf9eda7b41e97fddcb7ffb30085fcde5a35b8599c (diff)
downloadcpt-4ecfa39446c156e4283dae252532ce8548c72652.tar.gz
pkg_conflicts(): Remember to remove previous conflict checker
FossilOrigin-Name: 76313c31f354c6cae7116d8bd48252e423c904dac984e759ed8f0109f13408cf
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index b91a5a3..0d418e6 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1320,8 +1320,6 @@ pkg_conflicts() {
# information multiple times. Storing it in the cache dir allows us
# to be lazy as they'll be automatically removed on script end.
sed '/\/$/d' "$@" | sort "$CPT_TMPDIR/$pid/manifest" - | uniq -d > "$CPT_TMPDIR/$pid/conflict" ||:
- "$grep" -Fxf "$CPT_TMPDIR/$pid/manifest" -- "$@" > "$CPT_TMPDIR/$pid/conflict" ||:
-
# Enable alternatives automatically if it is safe to do so.
# This checks to see that the package that is about to be installed