|
|
@ -29,6 +29,9 @@ tar xzf ${RELEASE}.tar.gz
|
|
|
|
VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
|
|
|
VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
|
|
|
rm -rf ${RELEASE}.tar.gz
|
|
|
|
rm -rf ${RELEASE}.tar.gz
|
|
|
|
mv Heimdall-${VER} /opt/Heimdall
|
|
|
|
mv Heimdall-${VER} /opt/Heimdall
|
|
|
|
|
|
|
|
cd /opt/Heimdall
|
|
|
|
|
|
|
|
cp .env.example .env
|
|
|
|
|
|
|
|
$STD php artisan key:generate
|
|
|
|
msg_ok "Installed Heimdall Dashboard ${RELEASE}"
|
|
|
|
msg_ok "Installed Heimdall Dashboard ${RELEASE}"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Creating Service"
|
|
|
|
msg_info "Creating Service"
|
|
|
|