Browse Source

Update homarr-install.sh

tteckster 1 year ago
parent
commit
2c3a329260
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/homarr-install.sh

+ 1 - 1
install/homarr-install.sh

@@ -40,7 +40,7 @@ mkdir -p /opt/homarr
 RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 wget -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | $STD tar -xz -C /opt && mv /opt/homarr-${RELEASE}/* /opt/homarr
 cd /opt/homarr
-cp -p /opt/homarr/.env.example /opt/homarr/.env
+wget -q -O /opt/homarr/.env https://raw.githubusercontent.com/ajnart/homarr/dev/.env.example
 sed -i 's|NEXTAUTH_SECRET="[^"]*"|NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"|' /opt/homarr/.env
 $STD yarn install
 $STD yarn build