diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-07-14 18:24:44 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-07-14 18:24:44 +0200 |
commit | d6dd9b69b5ac0fbcc57a87b940cf5178cb9f5cbe (patch) | |
tree | e8b78a54f3dd1fef19ac420e64a4106609fa98b7 | |
parent | c8ce4554e4dd1811ac557dd91e77e206f4d29eb1 (diff) | |
download | portage-ext-d6dd9b69b5ac0fbcc57a87b940cf5178cb9f5cbe.tar.gz portage-ext-d6dd9b69b5ac0fbcc57a87b940cf5178cb9f5cbe.tar.xz portage-ext-d6dd9b69b5ac0fbcc57a87b940cf5178cb9f5cbe.zip |
added workaround for stable eix
-rwxr-xr-x | postsync.d/eix-update | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/postsync.d/eix-update b/postsync.d/eix-update index c839454..a94196f 100755 --- a/postsync.d/eix-update +++ b/postsync.d/eix-update @@ -46,11 +46,17 @@ done echo -[ -x /usr/bin/eix-update ] && /usr/bin/eix-update ${OVERLAY_PARAM} +( [ -x /usr/bin/eix-update ] && /usr/bin/eix-update ${OVERLAY_PARAM} ) || ( [ -x /usr/bin/update-eix ] && /usr/bin/update-eix ${OVERLAY_PARAM} ) if [ -r "${EIXCACHE}" -a -r "${TMPFILE}" ]; then echo - eix-diff "${TMPFILE}" + + if [ -x /usr/bin/eix-diff ] ; then + eix-diff "${TMPFILE}" + else + [ -x /usr/bin/diff-eix ] && diff-eix "${TMPFILE}" + fi + echo rm -f "${TMPFILE}" fi |