From 5d87a17bf8f5365a77294a891eb28fbcd4b59392 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Thu, 7 May 2020 23:22:30 +0200 Subject: [PATCH] build_date --- src/deb/vesta/postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index a1a55b080..29b89e29c 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -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)