/[gentoo-x86]/eclass/cdrom.eclass
Gentoo

Diff of /eclass/cdrom.eclass

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

Revision 1.1 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1 # Copyright 1999-2012 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/cdrom.eclass,v 1.1 2012/01/13 20:23:06 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cdrom.eclass,v 1.3 2012/01/15 14:13:46 ulm Exp $
4 4
5# @ECLASS: cdrom.eclass 5# @ECLASS: cdrom.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# games@gentoo.org 7# games@gentoo.org
8# @BLURB: Functions for CD-ROM handling 8# @BLURB: Functions for CD-ROM handling
18if [[ -z ${___ECLASS_ONCE_CDROM} ]]; then 18if [[ -z ${___ECLASS_ONCE_CDROM} ]]; then
19___ECLASS_ONCE_CDROM=1 19___ECLASS_ONCE_CDROM=1
20 20
21inherit portability 21inherit portability
22 22
23# @ECLASS-VARIABLE: CDROM_DISABLE_PROPERTIES
24# @DEFAULT_UNSET
25# @DESCRIPTION:
26# By default, the eclass sets PROPERTIES="interactive".
27# A non-empty value of CDROM_DISABLE_PROPERTIES suppresses this.
28
29if [[ -z ${CDROM_DISABLE_PROPERTIES} ]]; then
23PROPERTIES="interactive" 30 PROPERTIES="interactive"
31fi
24 32
25# @FUNCTION: cdrom_get_cds 33# @FUNCTION: cdrom_get_cds
26# @USAGE: <file on cd1> [file on cd2] [file on cd3] [...] 34# @USAGE: <file on cd1> [file on cd2] [file on cd3] [...]
27# @DESCRIPTION: 35# @DESCRIPTION:
28# The function will attempt to locate a cd based upon a file that is on 36# The function will attempt to locate a cd based upon a file that is on

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20