install: warn when installed stack is too old
[ci skip]
This commit is contained in:
		
							parent
							
								
									bcf6f8ab4d
								
							
						
					
					
						commit
						896e58c054
					
				| @ -962,10 +962,15 @@ echo "System info:" | |||||||
| quietly_run uname -rsv | quietly_run uname -rsv | ||||||
| quietly_run lsb_release -a | quietly_run lsb_release -a | ||||||
| 
 | 
 | ||||||
| # show current installed hledger packages | # show current installed hledger packages and install tools | ||||||
| echo "Install status before:" | echo "Install status before:" | ||||||
| print_installed_versions | print_installed_versions | ||||||
| 
 | 
 | ||||||
|  | # show a warning if stack is too old | ||||||
|  | if has_stack && ! has_good_stack ; then | ||||||
|  |   echo "Note: stack $(cmd_version stack) is too old, a newer one will be installed" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| if [[ $STATUSFLAG ]] ; then | if [[ $STATUSFLAG ]] ; then | ||||||
|   exit 0 |   exit 0 | ||||||
| fi | fi | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user