Skip to content

Commit 6d17a5b

Browse files
author
Serghey Rodin
committed
fix for new installs
1 parent 0067562 commit 6d17a5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/deb/vesta/postinst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
# Run triggers only on updates
4+
if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
5+
exit
6+
fi
7+
38
# Run SUDO trigger
49
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
510
/usr/local/vesta/upd/add_sudo.sh

0 commit comments

Comments
 (0)