revert some features from pkgadd

This commit is contained in:
emmett1
2019-11-09 21:19:01 +08:00
parent a70d936c1d
commit 64dde84a94

2
pkgadd
View File

@@ -227,8 +227,6 @@ if [ ! "$IGNORE_CONFLICT" ]; then
if [ -e "$ROOT_DIR/$line" ] || [ -L "$ROOT_DIR/$line" ]; then
if [ "$UPGRADE_PKG" ] || [ "$REINSTALL_PKG" ]; then
if [ ! "$(grep -Fx "$line" "$INDEX_DIR/$name/.files")" ]; then
owner="$(grep -E ^$line$ $INDEX_DIR/*/.files | sed "s,$INDEX_DIR/,,;s,\/.*,,")"
[ "$owner" ] && owner=\($owner\)
echo "$line $owner"
conflictedfile=yes
fi