summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-04-11 13:57:37 +0000
committerRoy Marples <uberlord@gentoo.org>2007-04-11 13:57:37 +0000
commit7accee3b4f11cb49d7cb4e022da7f62b1347381c (patch)
tree2fdf0317887a717434a41defdf846143da096cad /sys-apps/baselayout
parentVersion bump wrt bug #174112 (diff)
downloadgentoo-2-7accee3b4f11cb49d7cb4e022da7f62b1347381c.tar.gz
gentoo-2-7accee3b4f11cb49d7cb4e022da7f62b1347381c.tar.bz2
gentoo-2-7accee3b4f11cb49d7cb4e022da7f62b1347381c.zip
Fix upgraders from 1.13
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild b/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild
index 845ff1c3101f..222125d6919c 100644
--- a/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild
+++ b/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild,v 1.1 2007/04/11 10:54:44 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0_alpha1.ebuild,v 1.2 2007/04/11 13:57:37 uberlord Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
@@ -190,6 +190,9 @@ pkg_postinst() {
ln -snf ../../init.d/volumes "${ROOT}"etc/runlevels/boot
ln -snf /etc/init.d/volumes "${ROOT}"lib/rcscripts/init.d/started
fi
+ elif has_version "<sys-apps/${PN}-2.0.0_alpha" ; then
+ # The format has changed since 1.13
+ rm -rf "${ROOT}lib/rcscripts/init.d/daemons"
fi
if [[ ${ROOT} == / ]] && ! use build && ! use bootstrap; then