mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-04 00:05:35 -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) {
 | 
					                 if ($real_gid != $gid) {
 | 
				
			||||||
                    system "chgrp $real_gid $File::Find::name";
 | 
					                    system "chgrp $real_gid $File::Find::name";
 | 
				
			||||||
                 }  
 | 
					                 }  
 | 
				
			||||||
                 if (/CVS/) {
 | 
					
 | 
				
			||||||
                     chdir(dirname($File::Find::name));
 | 
					                 # Keeping versioning is a great idea for Replacements
 | 
				
			||||||
                     system "rm -rf CVS";
 | 
					                 # if (/CVS/) {
 | 
				
			||||||
                 }
 | 
					                 #    chdir(dirname($File::Find::name));
 | 
				
			||||||
 | 
					                 #    system "rm -rf CVS";
 | 
				
			||||||
 | 
					                 # }
 | 
				
			||||||
               
 | 
					               
 | 
				
			||||||
         } , $packaging_place ;
 | 
					         } , $packaging_place ;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -140,10 +140,12 @@ if (-d $packaging_place) {
 | 
				
			|||||||
                 if ($real_gid != $gid) {
 | 
					                 if ($real_gid != $gid) {
 | 
				
			||||||
                    system "chgrp $real_gid $File::Find::name";
 | 
					                    system "chgrp $real_gid $File::Find::name";
 | 
				
			||||||
                 }  
 | 
					                 }  
 | 
				
			||||||
                 if (/CVS/) {
 | 
					
 | 
				
			||||||
                     chdir(dirname($File::Find::name));
 | 
					                 # Keeping versioning is a great idea for Replacements
 | 
				
			||||||
                     system "rm -rf CVS";
 | 
					                 # if (/CVS/) {
 | 
				
			||||||
                 }
 | 
					                 #    chdir(dirname($File::Find::name));
 | 
				
			||||||
 | 
					                 #    system "rm -rf CVS";
 | 
				
			||||||
 | 
					                 # }
 | 
				
			||||||
               
 | 
					               
 | 
				
			||||||
         } , $packaging_place ;
 | 
					         } , $packaging_place ;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user