Commit 84afa77c authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

fix check for existing of the cbdock alias

parent 4cae8c25
......@@ -33,7 +33,10 @@ docker exec -t --user root ${ContainerName} bash -c "\
chmod 0440 /etc/sudoers.d/cbmdock "
# create cbmdock alias on the host. It runs a shell in the container with an actual DISPLAY value
if [[ `alias | grep -q cbmdock` ]]
source ~/.bashrc
if [[ `alias | grep cbmdock` ]]
echo cbmdock alias already exists
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment