diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-09-24 21:40:28 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-09-24 21:40:28 +0200 |
commit | a79d8b6680d4b7f22421d2a4bc0cce2b65a71f7e (patch) | |
tree | 426c0219089aa65f365550b52f6ef3832954d334 /eix-switch.sh | |
parent | 470bc48a8d0a98b1937f2bf44f044388e8910a75 (diff) | |
download | portage-ext-a79d8b6680d4b7f22421d2a4bc0cce2b65a71f7e.tar.gz portage-ext-a79d8b6680d4b7f22421d2a4bc0cce2b65a71f7e.tar.xz portage-ext-a79d8b6680d4b7f22421d2a4bc0cce2b65a71f7e.zip |
added workaround for older eix versions
added seperate file that overrides the eix-update and eix-diff binaries with a funktion that supports older eix
removed eix call from regen-overlays by putting the overlay config path relativ to dirname $0
removed switch from eix-update and include seperate file
Diffstat (limited to 'eix-switch.sh')
-rw-r--r-- | eix-switch.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/eix-switch.sh b/eix-switch.sh new file mode 100644 index 0000000..c3b8be7 --- /dev/null +++ b/eix-switch.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +eix-update() { + if [ -x /usr/bin/eix-update ] ; then + /usr/bin/eix-update $@ + else + [ -x /usr/bin/update-eix ] && /usr/bin/update-eix $@ + fi +} + +eix-diff() { + if [ -x /usr/bin/eix-diff ] ; then + /usr/bin/eix-diff $@ + else + [ -x /usr/bin/diff-eix ] && /usr/bin/diff-eix $@ + fi +} |