This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
new 442bd7e [DATALAB-2091]: fixed log file name
new 2c162b5 Merge branch 'DATALAB-2091' of
https://github.com/apache/incubator-dlab into DATALAB-2091
442bd7e is described below
commit 442bd7e6ef14f6bceab236e09aa32b2686101d15
Author: leonidfrolov <[email protected]>
AuthorDate: Fri Apr 30 15:50:56 2021 +0300
[DATALAB-2091]: fixed log file name
---
infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
index b7d104b..f32cb62 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -81,7 +81,7 @@ def manage_pkg(command, environment, requisites):
count = count + 1
datalab.fab.conn.sudo('apt-get {0} {1} 2>&1 | tee
/tmp/tee.tmp; if ! grep -w -E "({2})" /tmp/tee.tmp > '
- '/tmp/apt.log; then echo "no_error" >
/tmp/apt-get.log;fi'.format(command, requisites, error_parser))
+ '/tmp/apt-get.log; then echo "no_error" >
/tmp/apt-get.log;fi'.format(command, requisites, error_parser))
err = datalab.fab.conn.sudo('cat
/tmp/apt-get.log').stdout
count = 0
while 'no_error' not in err and count < 10:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]