mirror of https://github.com/tteck/Proxmox.git
Compare commits
4 Commits
cc97e682ae
...
c912a037a1
Author | SHA1 | Date |
---|---|---|
|
c912a037a1 | |
|
60eeefe0c4 | |
|
c8cbb8626b | |
|
2c6d131d93 |
|
@ -61,6 +61,7 @@ cp -R /opt/homarr/data /root/data-homarr-backup
|
|||
cp -R /opt/homarr/database /root/database-homarr-backup
|
||||
RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
wget -q -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | tar -xz -C /opt
|
||||
cp -R /opt/homarr-${RELEASE}/* /opt/homarr
|
||||
cp -R /root/data-homarr-backup/* /opt/homarr/data
|
||||
cp -R /root/database-homarr-backup/* /opt/homarr/database
|
||||
rm -rf /opt/homarr-${RELEASE}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Reference in New Issue