mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	Remove redundant directory in mkdir -p
Since -p creates parents, the first one isn't necessary.
This commit is contained in:
		
							parent
							
								
									2d34ea9781
								
							
						
					
					
						commit
						3fa9db516e
					
				@ -251,7 +251,7 @@ if [ ! -d $STORAGE_ROOT/mail/postgrey/db ]; then
 | 
				
			|||||||
	# Stop the service
 | 
						# Stop the service
 | 
				
			||||||
	service postgrey stop
 | 
						service postgrey stop
 | 
				
			||||||
	# Ensure the new paths for postgrey db exists
 | 
						# Ensure the new paths for postgrey db exists
 | 
				
			||||||
	mkdir -p $STORAGE_ROOT/mail/postgrey $STORAGE_ROOT/mail/postgrey/db
 | 
						mkdir -p $STORAGE_ROOT/mail/postgrey/db
 | 
				
			||||||
	# Move over database files
 | 
						# Move over database files
 | 
				
			||||||
	mv /var/lib/postgrey/* $STORAGE_ROOT/mail/postgrey/db/ || true
 | 
						mv /var/lib/postgrey/* $STORAGE_ROOT/mail/postgrey/db/ || true
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user