We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0067562 commit 6d17a5bCopy full SHA for 6d17a5b
src/deb/vesta/postinst
@@ -1,5 +1,10 @@
1
#!/bin/bash
2
3
+# Run triggers only on updates
4
+if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
5
+ exit
6
+fi
7
+
8
# Run SUDO trigger
9
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
10
/usr/local/vesta/upd/add_sudo.sh
0 commit comments