mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update homarr-install.sh
change delimiter in sed command
This commit is contained in:
parent
161e51796a
commit
53f0f7493a
@ -39,7 +39,7 @@ 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
|
||||||
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 install
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
$STD yarn db:migrate
|
$STD yarn db:migrate
|
||||||
|
Loading…
Reference in New Issue
Block a user