mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 22:56:07 +08:00
修复share shell
This commit is contained in:
parent
65d13d5752
commit
e4530d53ac
0
docker/docker-entrypoint.sh
Normal file → Executable file
0
docker/docker-entrypoint.sh
Normal file → Executable file
0
shell/code.sh
Normal file → Executable file
0
shell/code.sh
Normal file → Executable file
|
@ -68,6 +68,7 @@ import_config_and_check () {
|
||||||
make_dir () {
|
make_dir () {
|
||||||
local dir=$1
|
local dir=$1
|
||||||
[ ! -d $dir ] && mkdir -p $dir
|
[ ! -d $dir ] && mkdir -p $dir
|
||||||
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
## 检测termux
|
## 检测termux
|
||||||
|
@ -154,7 +155,7 @@ fix_config () {
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -s $file_cookie ]; then
|
if [ ! -f $file_cookie ]; then
|
||||||
echo -e "检测到config配置目录下不存在cookie.sh,创建一个空文件用于初始化...\n"
|
echo -e "检测到config配置目录下不存在cookie.sh,创建一个空文件用于初始化...\n"
|
||||||
touch $file_cookie
|
touch $file_cookie
|
||||||
echo
|
echo
|
||||||
|
@ -245,8 +246,6 @@ update_depend() {
|
||||||
pip3 install -r $dir_scripts/requirements.txt
|
pip3 install -r $dir_scripts/requirements.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -d $dir_scripts/node_modules ] && npm_install_2 $dir_scripts
|
|
||||||
|
|
||||||
cd $dir_current
|
cd $dir_current
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user