修复share shell

This commit is contained in:
whyour 2021-05-01 23:55:31 +08:00
parent 65d13d5752
commit e4530d53ac
3 changed files with 2 additions and 3 deletions

0
docker/docker-entrypoint.sh Normal file → Executable file
View File

0
shell/code.sh Normal file → Executable file
View File

View File

@ -68,6 +68,7 @@ import_config_and_check () {
make_dir () {
local dir=$1
[ ! -d $dir ] && mkdir -p $dir
echo
}
## 检测termux
@ -154,7 +155,7 @@ fix_config () {
echo
fi
if [ ! -s $file_cookie ]; then
if [ ! -f $file_cookie ]; then
echo -e "检测到config配置目录下不存在cookie.sh创建一个空文件用于初始化...\n"
touch $file_cookie
echo
@ -245,8 +246,6 @@ update_depend() {
pip3 install -r $dir_scripts/requirements.txt
fi
[ ! -d $dir_scripts/node_modules ] && npm_install_2 $dir_scripts
cd $dir_current
}