aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-10-08 20:54:24 (GMT)
committerUlrich Müller <ulm@gentoo.org>2012-10-08 20:54:24 (GMT)
commit5eefa6aae03e71620fc71a72d43247efa9135709 (patch)
tree45249b922f64f4cc4c9fe424cc06bb5a0cf18b61
parentDrop subversion keywords. (diff)
downloademacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.zip
emacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.tar.gz
emacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.tar.bz2
Honour slots of installed packages, bug 436350.
* emacs-updater: Honour slots of installed packages, bug 436350. This requires qfile supporting the -S option, i.e. version 0.3 or newer of portage-utils.
-rw-r--r--ChangeLog6
-rwxr-xr-xemacs-updater5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 98da930..da48fc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-10-08 Ulrich Müller <ulm@gentoo.org>
+
+ * emacs-updater: Honour slots of installed packages, bug 436350.
+ This requires qfile supporting the -S option, i.e. version 0.3
+ or newer of portage-utils.
+
2011-08-24 Ulrich Müller <ulm@gentoo.org>
* Version 1.9 released.
diff --git a/emacs-updater b/emacs-updater
index ee9a05f..c893502 100755
--- a/emacs-updater
+++ b/emacs-updater
@@ -281,9 +281,8 @@ if [ "${ORPHANS}" ]; then
elif [ "${EXACT}" ]; then
qfile -eqCR -f "${TMPFILE}" | sort -u | sed 's/^/=/' > "${PKGFILE}"
else
- qfile -qCR -f "${TMPFILE}" | sort -u > "${PKGFILE}"
- # Get package and slot number
- # qfile -eqCR -f "${TMPFILE}" | sort -u | xargs qlist -eqCILS
+ # Get package and slot number, requires >=portage-utils-0.3
+ qfile -SqCR -f "${TMPFILE}" | sort -u > "${PKGFILE}"
fi
NO_OF_PACKAGES=$(wc -l <"${PKGFILE}")