Sfoglia il codice sorgente

set alpine FUNCTIONS_FILE_PATH in build.func

tteckster 2 anni fa
parent
commit
3c74788eb5
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      misc/build.func

+ 4 - 0
misc/build.func

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