remove os check & update default var
This commit is contained in:
		
							parent
							
								
									44d6958fe8
								
							
						
					
					
						commit
						5d7855ae05
					
				
							
								
								
									
										19
									
								
								ct/jeedom.sh
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								ct/jeedom.sh
									
									
									
									
									
								
							| @ -6,13 +6,13 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV | |||||||
| # Source: https://jeedom.com/ | # Source: https://jeedom.com/ | ||||||
| 
 | 
 | ||||||
| APP="Jeedom" | APP="Jeedom" | ||||||
| var_tags="automation;smarthome" | var_tags="${var_tags:-automation;smarthome}" | ||||||
| var_cpu="2" | var_cpu="${var_cpu:-2}" | ||||||
| var_ram="2048" | var_ram="${var_ram:-2048}" | ||||||
| var_disk="16" | var_disk="${var_disk:-16}" | ||||||
| var_os="debian" | var_os="${var_os:-debian}" | ||||||
| var_version="11" | var_version="${var_version:-11}" | ||||||
| var_unprivileged="1" | var_unprivileged="${var_unprivileged:-1}" | ||||||
| 
 | 
 | ||||||
| header_info "$APP" | header_info "$APP" | ||||||
| variables | variables | ||||||
| @ -24,11 +24,6 @@ function update_script() { | |||||||
|     check_container_storage |     check_container_storage | ||||||
|     check_container_resources |     check_container_resources | ||||||
| 
 | 
 | ||||||
|     if ! lsb_release -d | grep -q "Debian GNU/Linux"; then |  | ||||||
|         msg_error "Wrong OS detected. Jeedom only supports Debian" |  | ||||||
|         exit 1 |  | ||||||
|     fi |  | ||||||
| 
 |  | ||||||
|     if [[ ! -f /var/www/html/core/config/version ]]; then |     if [[ ! -f /var/www/html/core/config/version ]]; then | ||||||
|         msg_error "No ${APP} Installation Found!" |         msg_error "No ${APP} Installation Found!" | ||||||
|         exit |         exit | ||||||
|  | |||||||
| @ -5,6 +5,7 @@ | |||||||
| # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE | # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE | ||||||
| # Source: https://jeedom.com/ | # Source: https://jeedom.com/ | ||||||
| 
 | 
 | ||||||
|  | # Import Functions und Setup | ||||||
| source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" | source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" | ||||||
| color | color | ||||||
| verb_ip6 | verb_ip6 | ||||||
| @ -24,13 +25,6 @@ $STD apt-get install -y \ | |||||||
|     git |     git | ||||||
| msg_ok "Dependencies installed" | msg_ok "Dependencies installed" | ||||||
| 
 | 
 | ||||||
| msg_info "Checking OS version" |  | ||||||
| if ! lsb_release -d | grep -q "Debian GNU/Linux"; then |  | ||||||
|     msg_error "Wrong OS detected. Jeedom only supports Debian" |  | ||||||
|     exit 1 |  | ||||||
| fi |  | ||||||
| msg_ok "OS check done" |  | ||||||
| 
 |  | ||||||
| DEFAULT_BRANCH="master" | DEFAULT_BRANCH="master" | ||||||
| echo | echo | ||||||
| while true; do | while true; do | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mips2648
						Mips2648