Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Backport fix to pkgng conflict checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Nov 18, 2013
1 parent 59511b7 commit 8506d7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src-sh/pc-metapkgmanager/pc-metapkgmanager
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ add_metapkgs() {
download_cache_packages "pkg-static install -U -n $pkgName"

# Lets check for any conflicts doing this install
check_pkg_conflicts "install -U -F -y $pkgName"
check_pkg_conflicts "install -FUy $pkgName"
if [ $? -ne 0 ] ; then
exit 1
fi
Expand Down Expand Up @@ -307,7 +307,7 @@ intercept_pkg_dl()
download_cache_packages "pkg $op $flags"

# Lets check for any conflicts doing this install
check_pkg_conflicts "${op} -F $flags"
check_pkg_conflicts "${op} -FUy $flags"
if [ $? -ne 0 ] ; then
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion src-sh/pc-updatemanager/pc-updatemanager
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ update_pkgs()
download_cache_packages "pkg-static upgrade -U -n $1"
fi

check_pkg_conflicts "upgrade -U -F -y $1"
check_pkg_conflicts "upgrade -FUy $1"
if [ $? -ne 0 ] ; then
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion src-sh/xtrafiles/local/share/pcbsd/bin/pkg
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ intercept_pkg_dl()
download_cache_packages "pkg $op $flags"

# Lets check for any conflicts doing this install
check_pkg_conflicts "${op} -F $flags"
check_pkg_conflicts "${op} -FUy $flags"
if [ $? -ne 0 ] ; then
exit 1
fi
Expand Down

0 comments on commit 8506d7a

Please sign in to comment.