diff options
author | 2012-10-08 22:54:24 +0200 | |
---|---|---|
committer | 2012-10-08 22:54:24 +0200 | |
commit | 5eefa6aae03e71620fc71a72d43247efa9135709 (patch) | |
tree | 45249b922f64f4cc4c9fe424cc06bb5a0cf18b61 | |
parent | Drop subversion keywords. (diff) | |
download | emacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.tar.gz emacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.tar.bz2 emacs-tools-5eefa6aae03e71620fc71a72d43247efa9135709.zip |
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-- | ChangeLog | 6 | ||||
-rwxr-xr-x | emacs-updater | 5 |
2 files changed, 8 insertions, 3 deletions
@@ -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}") |