Merge branch 'fix/type/__file/pre-exists-dryrun' into 'master'
__file: Fix --state pre-exists See merge request ungleich-public/cdist!944
This commit is contained in:
		
				commit
				
					
						eda96a06a0
					
				
			
		
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
					@ -87,11 +87,6 @@ case "$state_should" in
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    ;;
 | 
					    ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pre-exists)
 | 
					 | 
				
			||||||
        # pre-exists should never reach gencode-remote…
 | 
					 | 
				
			||||||
        exit 1
 | 
					 | 
				
			||||||
   ;;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    absent)
 | 
					    absent)
 | 
				
			||||||
        if [ "$type" = "file" ]; then
 | 
					        if [ "$type" = "file" ]; then
 | 
				
			||||||
            echo "rm -f '$destination'"
 | 
					            echo "rm -f '$destination'"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue