Installer: Handle Darwin
"cp -r" doesn't copy symlinks properly on Darwin, but "cp -R" does. Fixes #215.
This commit is contained in:
		
							parent
							
								
									6b9cd59a41
								
							
						
					
					
						commit
						506d86394d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -48,7 +48,7 @@ for i in $(cd $self/store && echo *); do | |||
|         rm -rf "$i_tmp" | ||||
|     fi | ||||
|     if ! [ -e "$dest/store/$i" ]; then | ||||
|         cp -rp "$self/store/$i" "$i_tmp" | ||||
|         cp -Rp "$self/store/$i" "$i_tmp" | ||||
|         mv "$i_tmp" "$dest/store/$i" | ||||
|     fi | ||||
| done | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue