summaryrefslogtreecommitdiff
path: root/profiles/prefix/windows
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /profiles/prefix/windows
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'profiles/prefix/windows')
-rw-r--r--profiles/prefix/windows/cygwin/profile.bashrc11
1 files changed, 2 insertions, 9 deletions
diff --git a/profiles/prefix/windows/cygwin/profile.bashrc b/profiles/prefix/windows/cygwin/profile.bashrc
index aecfd9adb7c0..9694edc101df 100644
--- a/profiles/prefix/windows/cygwin/profile.bashrc
+++ b/profiles/prefix/windows/cygwin/profile.bashrc
@@ -198,21 +198,14 @@ cygwin-rebase-merge() {
}
cygwin-rebase-post_pkg_prerm() {
- # The pending list is installed as part of the package, but
- # the merged list is not. Move from merged back to pending,
- # in case the unmerge fails...
- local pendingdir=$(cygwin-rebase-get_pendingdir)
+ # The pending list is registered as being installed with the package, but
+ # the merged list is not. Just remove the unregistered one.
local mergeddir=$(cygwin-rebase-get_mergeddir)
local listname=$(cygwin-rebase-get_listname)
(
set -e
cd "${EROOT}"
[[ -w ./${mergeddir}/. ]]
- [[ -w ./${pendingdir}/. ]]
- if [[ -s ./${mergeddir}/${listname} ]]
- then
- mv -f "./${mergeddir}/${listname}" "./${pendingdir}/${listname}" || :
- fi
rm -f "./${mergeddir}/${listname}"
)
}