mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +08:00
27 lines
672 B
Bash
27 lines
672 B
Bash
#!/usr/bin/env bash
|
|
|
|
# 导入通用变量与函数
|
|
dir_shell=/ql/shell
|
|
. $dir_shell/share.sh
|
|
|
|
echo -e "1. 开始安装青龙依赖\n"
|
|
npm_install_2 $dir_root
|
|
echo -e "青龙依赖安装完成\n"
|
|
|
|
echo -e "2. 开始安装脚本依赖\n"
|
|
cp -f $dir_sample/package.json $dir_scripts/package.json
|
|
npm_install_2 $dir_scripts
|
|
echo -e "脚本依赖安装完成\n"
|
|
|
|
echo -e "3. 复制通知文件\n"
|
|
echo -e "复制一份 $file_notify_py_sample 为 $file_notify_py\n"
|
|
cp -fv $file_notify_py_sample $file_notify_py
|
|
echo
|
|
|
|
echo -e "复制一份 $file_notify_js_sample 为 $file_notify_js\n"
|
|
cp -fv $file_notify_js_sample $file_notify_js
|
|
|
|
echo -e "通知文件复制完成\n"
|
|
|
|
exit 0
|