소스 검색

Update homarr-install.sh

change delimiter in sed command
tteckster 1 년 전
부모
커밋
53f0f7493a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      install/homarr-install.sh

+ 1 - 1
install/homarr-install.sh

@@ -39,7 +39,7 @@ msg_info "Installing Homarr (Patience)"
 git clone -q https://github.com/ajnart/homarr.git /opt/homarr
 cd /opt/homarr
 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