mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-03 16:05:34 -05:00 
			
		
		
		
	Before, if the sources created from the template had a symlink in them already,
you couldn't just press create again .. (for instance for genext2f or uml_exclusively). This has been fixed.
This commit is contained in:
		
							parent
							
								
									180b6655de
								
							
						
					
					
						commit
						dc17ffe59a
					
				@ -1265,9 +1265,12 @@ sub create_filesystem {
 | 
			
		||||
	    my($floppy_file) = $mount_point . $file;
 | 
			
		||||
	    mkpath(dirname($floppy_file));
 | 
			
		||||
	    info(1, "\tLink\t$floppy_file -> $target\n");
 | 
			
		||||
	    # This allows previous symlinks to exist sources
 | 
			
		||||
	    if  ( !-e $floppy_file ) {
 | 
			
		||||
		symlink($target, $floppy_file) or
 | 
			
		||||
		    ($error = error("symlink($target, $floppy_file): $!\n"));
 | 
			
		||||
		return "ERROR"if $error && $error eq "ERROR";
 | 
			
		||||
	    }
 | 
			
		||||
	    delete $Included{$file}; # Get rid of it so next pass doesn't copit
 | 
			
		||||
 | 
			
		||||
	} elsif (-d $file) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user