mirror of https://github.com/tteck/Proxmox.git
				
				
				
			modifications for testing
This commit is contained in:
		
							parent
							
								
									0fef6c3b31
								
							
						
					
					
						commit
						15b13175be
					
				| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
source <(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/main/misc/build.func)
 | 
			
		||||
source <(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/recyclarr/misc/build.func)
 | 
			
		||||
# Copyright (c) 2021-2024 tteck
 | 
			
		||||
# Author: tteck (tteckster)
 | 
			
		||||
# License: MIT
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -531,9 +531,9 @@ build_container() {
 | 
			
		|||
  TEMP_DIR=$(mktemp -d)
 | 
			
		||||
  pushd $TEMP_DIR >/dev/null
 | 
			
		||||
  if [ "$var_os" == "alpine" ]; then
 | 
			
		||||
    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/main/misc/alpine-install.func)"
 | 
			
		||||
    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/recyclarr/misc/alpine-install.func)"
 | 
			
		||||
  else
 | 
			
		||||
    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/main/misc/install.func)"
 | 
			
		||||
    export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/jawaff/Proxmox/recyclarr/misc/install.func)"
 | 
			
		||||
  fi
 | 
			
		||||
  export CACHER="$APT_CACHER"
 | 
			
		||||
  export CACHER_IP="$APT_CACHER_IP"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -194,6 +194,6 @@ EOF
 | 
			
		|||
    systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 | 
			
		||||
    msg_ok "Customized Container"
 | 
			
		||||
  fi
 | 
			
		||||
  echo "bash -c \"\$(wget -qLO - https://github.com/jawaff/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
 | 
			
		||||
  echo "bash -c \"\$(wget -qLO - https://github.com/jawaff/Proxmox/raw/recyclarr/ct/${app}.sh)\"" >/usr/bin/update
 | 
			
		||||
  chmod +x /usr/bin/update
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue