Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646172
Collapse All | Expand All

(-)a/games-fps/quake1-demodata/quake1-demodata-1.06.ebuild (-10 / +2 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2017 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
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
3
4
EAPI=5
4
EAPI=5
Lines 17-23 SLOT="0" Link Here
17
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
18
IUSE="symlink"
18
IUSE="symlink"
19
19
20
RDEPEND=""
20
RDEPEND="symlink? ( !games-fps/quake1-data )"
21
DEPEND="app-arch/lha
21
DEPEND="app-arch/lha
22
	app-arch/unzip"
22
	app-arch/unzip"
23
23
Lines 30-42 pkg_setup() { Link Here
30
	if has_version "games-fps/quake1-data" ; then
30
	if has_version "games-fps/quake1-data" ; then
31
		ewarn "games-fps/quake1-data already includes the demo data,"
31
		ewarn "games-fps/quake1-data already includes the demo data,"
32
		ewarn "so this installation is not very useful."
32
		ewarn "so this installation is not very useful."
33
		echo
34
		if use symlink ; then
35
			eerror "The symlink for the demo data conflicts with the cdinstall data"
36
			die "Remove the 'symlink' USE flag for this package"
37
		fi
38
		ebeep
39
		epause
40
	fi
33
	fi
41
}
34
}
42
35
43
- 

Return to bug 646172