summaryrefslogtreecommitdiffstats
path: root/postsync.d/eix-update
diff options
context:
space:
mode:
Diffstat (limited to 'postsync.d/eix-update')
-rwxr-xr-xpostsync.d/eix-update10
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