diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-21 12:43:22 +0200 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-21 12:43:22 +0200 |
| commit | 723f6ffcf61de46a230f06762f2dc8ff87316a67 (patch) | |
| tree | b5d222c3369294499a17d12199c955d910a05251 | |
| parent | 51f66e214abc8c877143ffa005d87c74cfe43e4f (diff) | |
| download | kde-723f6ffcf61de46a230f06762f2dc8ff87316a67.tar.gz kde-723f6ffcf61de46a230f06762f2dc8ff87316a67.tar.bz2 kde-723f6ffcf61de46a230f06762f2dc8ff87316a67.zip | |
Update bit eclass slot detection.
| -rw-r--r-- | eclass/kde4-base.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index aeaa6a65f4c..a10778820fc 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -170,11 +170,10 @@ case ${KDEBASE} in fi # Determine SLOT from PVs case ${PV} in - 4.3.9999*) SLOT="4.3" ;; - 4.2.9999*) SLOT="4.2" ;; + *.9999*) SLOT="${PV/.9999*/}" ;; # stable live 4.3* | 4.2.9* | 4.2.8* | 4.2.7* | 4.2.6*) SLOT="4.3" ;; 4.2* | 4.1.9* | 4.1.8* | 4.1.7* | 4.1.6*) SLOT="4.2" ;; - 9999*) SLOT="live" ;; + 9999*) SLOT="live" ;; # regular live *) die "Unsupported ${PV}" ;; esac _kdedir="${SLOT}" |
