mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
build_date
This commit is contained in:
parent
35bd47c5cd
commit
5d87a17bf8
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue