mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Fix on Upgrade command.
This commit is contained in:
		
							parent
							
								
									ac08d1874c
								
							
						
					
					
						commit
						0a8187c11d
					
				@ -81,7 +81,8 @@ class UpgradeCommand extends InstallCommand
 | 
			
		||||
 | 
			
		||||
        				Console::executeCommand('rm -rf ' . MAGALLANES_DIRECTORY);
 | 
			
		||||
        				Console::executeCommand('mkdir -p ' . MAGALLANES_DIRECTORY);
 | 
			
		||||
        				Console::executeCommand('cd ' . MAGALLANES_DIRECTORY . ' && tar xfz ' . $tarballFile);
 | 
			
		||||
        				Console::executeCommand('cd ' . dirname($tarballFile) . ' && tar xfz ' . $tarballFile);
 | 
			
		||||
        				Console::executeCommand('mv ' . dirname($tarballFile) . '/magallanes ' . MAGALLANES_DIRECTORY);
 | 
			
		||||
 | 
			
		||||
        				Console::output('<green>OK</green>', 0, 1);
 | 
			
		||||
        			}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user