aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exndbam_repository_TEST_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/exndbam_repository_TEST_setup.sh')
-rwxr-xr-xpaludis/repositories/e/exndbam_repository_TEST_setup.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/paludis/repositories/e/exndbam_repository_TEST_setup.sh b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
index 826404081..3f0244ea5 100755
--- a/paludis/repositories/e/exndbam_repository_TEST_setup.sh
+++ b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
@@ -22,11 +22,7 @@ echo postinsttest >postinsttest_src1/profiles/repo_name
echo cat >postinsttest_src1/profiles/categories
cat <<END >postinsttest_src1/cat/pkg/pkg-0.ebuild
-if [[ \${PV} == 0* ]]; then
- EAPI=1
-else
- EAPI=paludis-1
-fi
+EAPI=1
KEYWORDS="test"
if [[ \${PV} == 2* ]]; then
SLOT="2"
@@ -58,6 +54,7 @@ pkg_postrm() {
END
cp postinsttest_src1/cat/pkg/pkg-{0,0.1}.ebuild
cp postinsttest_src1/cat/pkg/pkg-{0,1}.ebuild
-cp postinsttest_src1/cat/pkg/pkg-{0,1.1}.ebuild
-cp postinsttest_src1/cat/pkg/pkg-{0,2}.ebuild
+sed -i -e 's/EAPI=1/EAPI=paludis-1/' postinsttest_src1/cat/pkg/pkg-1.ebuild
+cp postinsttest_src1/cat/pkg/pkg-{1,1.1}.ebuild
+cp postinsttest_src1/cat/pkg/pkg-{1,2}.ebuild