build_date

This commit is contained in:
myvesta 2020-05-07 23:22:30 +02:00 committed by GitHub
commit 5d87a17bf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
#!/bin/bash
build_date=$(curl -s http://c.myvestacp.com/build_date.txt)
echo "$build_date" > /usr/local/vesta/build_date.txt
# Run triggers only on updates
if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
version=$(curl -s http://c.myvestacp.com/latest.txt?installed)