mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update postinst
This commit is contained in:
parent
893da18c7c
commit
c260afa4a5
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
|
|||
version=$(curl -s http://c.myvestacp.com/latest.txt?installed)
|
||||
version=${version:6}
|
||||
echo "=== myVesta $version installed ==="
|
||||
echo "=== myVesta build date: $build_date"
|
||||
echo "$version" > /usr/local/vesta/version.txt
|
||||
exit
|
||||
fi
|
||||
|
@ -51,6 +52,7 @@ systemctl restart exim4
|
|||
version=$(curl -s http://c.myvestacp.com/latest.txt?updated)
|
||||
version=${version:6}
|
||||
echo "=== myVesta $version updated ==="
|
||||
echo "=== myVesta build date: $build_date"
|
||||
echo "$version" > /usr/local/vesta/version.txt
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue