mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
fix for new installs
This commit is contained in:
parent
0067562b33
commit
6d17a5b610
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Run triggers only on updates
|
||||||
|
if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
# Run SUDO trigger
|
# Run SUDO trigger
|
||||||
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
|
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
|
||||||
/usr/local/vesta/upd/add_sudo.sh
|
/usr/local/vesta/upd/add_sudo.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue