mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Update postinst
This commit is contained in:
parent
2c1b1cafd4
commit
66ac7f74d5
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,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 "$version" > /usr/local/vesta/version.txt
|
||||
exit
|
||||
fi
|
||||
|
||||
|
@ -47,5 +48,6 @@ systemctl restart exim4
|
|||
version=$(curl -s http://c.myvestacp.com/latest.txt?updated)
|
||||
version=${version:6}
|
||||
echo "=== myVesta $version updated ==="
|
||||
echo "$version" > /usr/local/vesta/version.txt
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue