mirror of
				https://gitee.com/spark-store-project/spark-store
				synced 2025-11-04 08:12:21 +08:00 
			
		
		
		
	fix: can not install depends
This commit is contained in:
		
							parent
							
								
									ce34fc763f
								
							
						
					
					
						commit
						32c74bc5a0
					
				@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
 | 
				
			|||||||
        exit "$try_run_ret"
 | 
					        exit "$try_run_ret"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
 | 
					    dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
 | 
					    if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
 | 
				
			||||||
        if dpkg -s "$package_name" >/dev/null 2>&1; then
 | 
					        if dpkg -s "$package_name" >/dev/null 2>&1; then
 | 
				
			||||||
 | 
				
			|||||||
@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
 | 
				
			|||||||
        exit "$try_run_ret"
 | 
					        exit "$try_run_ret"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf --reinstall --allow-downgrades
 | 
					    dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unlock_file "$DEBPATH"
 | 
					unlock_file "$DEBPATH"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user