From abc92cf3167a10185ee3cd9786dff2d29277b7a8 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 8 Nov 2001 07:12:09 +0000 Subject: [PATCH] The majority of replacements except for passwd*, shadow, and ld.so.conf have $Id$ and made by make_debian. Original CVS information is now preserved so that non-root users can't edit global replacements, the basic idea is that root will usually be using an editor like Emacs in $HOME/.gbootroot/yard/Replacements which respects that CVS versioned files outside of the repository are read-only. Users should make copies of versioned replacements which they want to edit, for instance: fstab.debian-1000 --- add-ons/yard/make-debian-X11/make_debian-X11_pkg | 10 ++++++---- gbootroot_pkg | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/add-ons/yard/make-debian-X11/make_debian-X11_pkg b/add-ons/yard/make-debian-X11/make_debian-X11_pkg index aa30d49..7664ce4 100755 --- a/add-ons/yard/make-debian-X11/make_debian-X11_pkg +++ b/add-ons/yard/make-debian-X11/make_debian-X11_pkg @@ -142,10 +142,12 @@ if (-d $packaging_place) { if ($real_gid != $gid) { system "chgrp $real_gid $File::Find::name"; } - if (/CVS/) { - chdir(dirname($File::Find::name)); - system "rm -rf CVS"; - } + + # Keeping versioning is a great idea for Replacements + # if (/CVS/) { + # chdir(dirname($File::Find::name)); + # system "rm -rf CVS"; + # } } , $packaging_place ; } diff --git a/gbootroot_pkg b/gbootroot_pkg index ec26992..d1fe800 100755 --- a/gbootroot_pkg +++ b/gbootroot_pkg @@ -140,10 +140,12 @@ if (-d $packaging_place) { if ($real_gid != $gid) { system "chgrp $real_gid $File::Find::name"; } - if (/CVS/) { - chdir(dirname($File::Find::name)); - system "rm -rf CVS"; - } + + # Keeping versioning is a great idea for Replacements + # if (/CVS/) { + # chdir(dirname($File::Find::name)); + # system "rm -rf CVS"; + # } } , $packaging_place ; }