mirror of
https://github.com/fspc/gbootroot.git
synced 2025-03-04 11:53:26 -05:00
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
This commit is contained in:
parent
2f320d8728
commit
abc92cf316
@ -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 ;
|
||||
}
|
||||
|
@ -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 ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user