Explorar o código

set alpine FUNCTIONS_FILE_PATH in build.func

tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
3c74788eb5
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      misc/build.func

+ 4 - 0
misc/build.func

@@ -385,7 +385,11 @@ 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/tteck/Proxmox/main/misc/alpine-install.func)"
+  else
   export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)"
+  fi
   export tz="$timezone"
   if [[ "$APP" == "Docker" || "$APP" == "Umbrel" || "$APP" == "CasaOS" || "$APP" == "Home Assistant" ]]; then
     export ST="$FUSE"