diff --git a/flux/src/xconf.sh b/flux/src/xconf.sh index 9a5a04e4..766a3366 100644 --- a/flux/src/xconf.sh +++ b/flux/src/xconf.sh @@ -120,7 +120,7 @@ $RUN \ # TODO: su> gosu? # su - headless -c # gosu headless bash -c - echo "curl oh-my-bash.." && gosu headless bash -c "$(curl --connect-timeout 3 -fsSL https://gitee.com/g-system/oh-my-bash/raw/sam-custom/tools/install.sh)"; \ + echo "curl oh-my-bash.." && gosu headless bash -c "$(curl --connect-timeout 3 -fsSL https://gitee.com/g-system/oh-my-bash/raw/sam-custom/tools/install.sh); exit 0;"; \ rm -rf /home/headless/.oh-my-bash/.git; # danger! bash -c 'cd /home/headless/.oh-my-bash/themes && rm -rf `ls |grep -v "axin\|sh$"` || echo "onmybash not exist, skip clear"'; \