File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,12 @@ do_install() {
128
128
cd $tmp
129
129
fi
130
130
get_n_extract $tmp
131
- ./webexec start
132
131
if [ -z $SSH_TTY ]
133
132
then
133
+ if [ ! -d $HOME /.config/webexec ]
134
+ then
135
+ ./webexec init
136
+ fi
134
137
echo " Moving to another shell to survive this connection ending"
135
138
$sh_c " nohup bash ./replace_n_launch.sh $user ${HOME:-/ root} "
136
139
else
@@ -150,7 +153,5 @@ do_install() {
150
153
webexec start
151
154
echo " Install finished, please exit and reconnect to enjoy version $LATEST_VERSION ."
152
155
fi
153
-
154
-
155
156
}
156
157
do_install " $@ "
Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ do_install() {
115
115
get_n_extract $tmp
116
116
if [ -z $SSH_TTY ]
117
117
then
118
+ if [ ! -d $HOME /.config/webexec ]
119
+ then
120
+ ./webexec init
121
+ fi
118
122
echo " Moving to another shell to survive this connection ending"
119
123
$sh_c " nohup bash ./replace_n_launch.sh $user ${HOME:-/ root} "
120
124
else
You can’t perform that action at this time.
0 commit comments