Pārlūkot izejas kodu

Update homarr-install.sh

tteckster 1 gadu atpakaļ
vecāks
revīzija
50165e4d38
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      install/homarr-install.sh

+ 2 - 2
install/homarr-install.sh

@@ -44,10 +44,10 @@ msg_ok "Installed Yarn"
 msg_info "Installing Homarr (Patience)"
 msg_info "Installing Homarr (Patience)"
 git clone -q https://github.com/ajnart/homarr.git /opt/homarr
 git clone -q https://github.com/ajnart/homarr.git /opt/homarr
 cd /opt/homarr
 cd /opt/homarr
-$STD yarn install
-$STD yarn build
 cp -p /opt/homarr/.env.example /opt/homarr/.env
 cp -p /opt/homarr/.env.example /opt/homarr/.env
 sed -i 's/NEXTAUTH_SECRET="[^"]*"/NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"/' /opt/homarr/.env
 sed -i 's/NEXTAUTH_SECRET="[^"]*"/NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"/' /opt/homarr/.env
+$STD yarn install
+$STD yarn build
 $STD yarn db:migrate
 $STD yarn db:migrate
 msg_ok "Installed Homarr"
 msg_ok "Installed Homarr"