diff options
author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-04-18 16:11:01 +0200 |
---|---|---|
committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-04-18 18:10:44 +0200 |
commit | 6881184db997deb4d5bc0ff9f5c1402bf359391e (patch) | |
tree | 1018042990a63de73cd5bdb9ddf40152fa0dbcad /src/rules.c | |
parent | ce79dec8a03a122dd17eefdb3cdc66068c4d0de7 (diff) | |
download | libsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.tar.gz libsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.tar.bz2 libsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.zip |
Haiku: The notation for the pre-release version part changed
Instead of using '-' as the separator for the pre-release '~' is used
now. This allows to drop code in a few places where Haiku had to be
special-cased before.
Diffstat (limited to 'src/rules.c')
-rw-r--r-- | src/rules.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rules.c b/src/rules.c index b191268..317dc77 100644 --- a/src/rules.c +++ b/src/rules.c @@ -1609,8 +1609,6 @@ jobtodisablelist(Solver *solv, Id how, Id what, Queue *q) if (pool->disttype != DISTTYPE_DEB) { const char *rel = strrchr(pool_id2str(pool, rd->evr), '-'); - if (rel && pool->disttype == DISTTYPE_HAIKU && (rel[1] < '0' || rel[1] > '9')) - rel = 0; set |= rel ? SOLVER_SETEVR : SOLVER_SETEV; } else |