clean up script spacing for easier reading
This commit is contained in:
		
							parent
							
								
									c6723b6c54
								
							
						
					
					
						commit
						1108797ac2
					
				@ -212,6 +212,8 @@ while [ $# -gt 0 ]; do
 | 
				
			|||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### process main operations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# cleanup containers and volumes
 | 
					# cleanup containers and volumes
 | 
				
			||||||
if [ $clean = true ]; then
 | 
					if [ $clean = true ]; then
 | 
				
			||||||
    # display warning and confirm user's intentions
 | 
					    # display warning and confirm user's intentions
 | 
				
			||||||
@ -253,6 +255,8 @@ if [ $clean = true ]; then
 | 
				
			|||||||
        done
 | 
					        done
 | 
				
			||||||
        printf "%s...done%s\n" "$cyan" "$norm"
 | 
					        printf "%s...done%s\n" "$cyan" "$norm"
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
 | 
					# automatically restore backups using a temporary container to create necessary
 | 
				
			||||||
 | 
					# volumes
 | 
				
			||||||
elif [ $restore = true ]; then
 | 
					elif [ $restore = true ]; then
 | 
				
			||||||
    # restore backup
 | 
					    # restore backup
 | 
				
			||||||
    printf "%s\n*** Restoring Backup ***\n\n%s" "$magenta" "$norm"
 | 
					    printf "%s\n*** Restoring Backup ***\n\n%s" "$magenta" "$norm"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user