* [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc
@ 2005-11-21 6:35 Alin Nastac
2005-11-21 9:12 ` Henrik Brix Andersen
2005-11-21 11:47 ` Petteri Räty
0 siblings, 2 replies; 4+ messages in thread
From: Alin Nastac @ 2005-11-21 6:35 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
Hi gang,
The new ppp ebuild should erase /etc/conf.d/net.ppp0 and
/etc/init.d/net.ppp0 installed by previous versions of net-dialup/ppp.
The upcoming sys-apps/baselayout-1.12.0_pre11 will be able to handle any
kind of PPP links.
What would be the best way of doing this?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc
2005-11-21 6:35 [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc Alin Nastac
@ 2005-11-21 9:12 ` Henrik Brix Andersen
2005-11-21 11:47 ` Petteri Räty
1 sibling, 0 replies; 4+ messages in thread
From: Henrik Brix Andersen @ 2005-11-21 9:12 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
On Mon, Nov 21, 2005 at 08:35:35AM +0200, Alin Nastac wrote:
> The new ppp ebuild should erase /etc/conf.d/net.ppp0 and
> /etc/init.d/net.ppp0 installed by previous versions of net-dialup/ppp.
> The upcoming sys-apps/baselayout-1.12.0_pre11 will be able to handle any
> kind of PPP links.
>
> What would be the best way of doing this?
Instruct the user to erase them and create the symlinks instead in
pkg_postinst()?
Regards,
Brix
--
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Metadistribution | Mobile computing herd
[-- Attachment #2: Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc
2005-11-21 6:35 [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc Alin Nastac
2005-11-21 9:12 ` Henrik Brix Andersen
@ 2005-11-21 11:47 ` Petteri Räty
2005-11-22 6:17 ` Georgi Georgiev
1 sibling, 1 reply; 4+ messages in thread
From: Petteri Räty @ 2005-11-21 11:47 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
Alin Nastac wrote:
> Hi gang,
>
> The new ppp ebuild should erase /etc/conf.d/net.ppp0 and
> /etc/init.d/net.ppp0 installed by previous versions of net-dialup/ppp.
> The upcoming sys-apps/baselayout-1.12.0_pre11 will be able to handle any
> kind of PPP links.
>
> What would be the best way of doing this?
I suggest you install dummy files.
start() {
einfo "This init script is deprecated and you can"
einfo "safely remove it from the default runlevel."
}
Also when doing etc-update/dispatch-conf over the conf.d file users will
see that the file is deprecated. Then you can just drop installing the
files in the next version.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc
2005-11-21 11:47 ` Petteri Räty
@ 2005-11-22 6:17 ` Georgi Georgiev
0 siblings, 0 replies; 4+ messages in thread
From: Georgi Georgiev @ 2005-11-22 6:17 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 521 bytes --]
maillog: 21/11/2005-13:47:46(+0200): Petteri Räty types
> Also when doing etc-update/dispatch-conf over the conf.d file users will
> see that the file is deprecated. Then you can just drop installing the
> files in the next version.
You assume that the user is upgrading incrementally...
--
/\ Georgi Georgiev /\ Whenever I feel like exercise, I lie down /\
\/ chutz@gg3.net \/ until the feeling passes. \/
/\ http://www.gg3.net/ /\ /\
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-22 6:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 6:35 [gentoo-dev] the upcoming ppp ebuild need to remove files from /etc Alin Nastac
2005-11-21 9:12 ` Henrik Brix Andersen
2005-11-21 11:47 ` Petteri Räty
2005-11-22 6:17 ` Georgi Georgiev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox