/[gentoo-x86]/eclass/kde4-functions.eclass
Gentoo

Diff of /eclass/kde4-functions.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.52 Revision 1.53
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.52 2011/06/15 00:11:05 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.53 2011/06/15 12:10:54 abcd Exp $
4 4
5inherit versionator 5inherit versionator
6 6
7# @ECLASS: kde4-functions.eclass 7# @ECLASS: kde4-functions.eclass
8# @MAINTAINER: 8# @MAINTAINER:
459 use=${use%\]} 459 use=${use%\]}
460 pkg=${pkg%\[*\]} 460 pkg=${pkg%\[*\]}
461 fi 461 fi
462 462
463 local slot ver="$1" atom old_ver="unset" 463 local slot ver="$1" atom old_ver="unset"
464 [[ "$2" == *:3.5 ]] && old_ver=${2::-4} 464 [[ "$2" == *:3.5 ]] && old_ver=${2%:3.5}
465 465
466 for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do 466 for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do
467 # If no version was passed, or the version is greater than the maximum 467 # If no version was passed, or the version is greater than the maximum
468 # possible version in this slot, block all versions in this slot 468 # possible version in this slot, block all versions in this slot
469 if [[ ${ver} == "unset" ]] || [[ -z ${ver} ]] || _greater_max_in_slot ${ver#<} ${slot}; then 469 if [[ ${ver} == "unset" ]] || [[ -z ${ver} ]] || _greater_max_in_slot ${ver#<} ${slot}; then

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20