15 Star 52 Fork 2

Gitee 极速下载 / ekho

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/hgneng/ekho
克隆/下载
deploy.sh 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
黄冠能 提交于 2016-06-14 17:51 . merge changes from SVN r2478
#!/bin/bash
DEBUG=0
for i in "$@"
do
case $i in
-d|--debug)
DEBUG=1
shift # past argument=value
;;
*)
# unknown option
;;
esac
done
sudo date
if [ $DEBUG -eq 1 ]
then
sudo rm -rf ~/ekho-logs
mkdir ~/ekho-logs
./install.pl 2>&1 | tee ~/ekho-logs/install.log
orca --replace&
echo 'finish install. collecting logs'
find ~/.speech-dispatcher | xargs ls -l >> ~/ekho-logs/ekho.logs
find ~/.config/speech-dispatcher | xargs ls -l >> ~/ekho-logs/ekho.logs
ls -l /usr/lib/libsdaudio.so.2 >> ~/ekho-logs/ekho.logs
ls -l /usr/lib/speech-dispatcher-modules >> ~/ekho-logs/ekho.logs
ls -l /usr/share/pyshared/speechd_config >> ~/ekho-logs/ekho.logs
ls -l /usr/lib/speech-dispatcher-modules/sd_ekho >> ~/ekho-logs/ekho.logs
cp /etc/speech-dispatcher/speechd.conf ~/ekho-logs/
cp /usr/share/pyshared/speechd_config/config.py ~/ekho-logs/
cp ~/.speech-dispatcher/log/ekho.log ~/ekho-logs/
cp ~/.speech-dispatcher/log/speech-dispatcher.log ~/ekho-logs/
cp ~/.config/speech-dispatcher/speechd.conf ~/ekho-logs/speechd.conf.2
sudo cp /var/log/speech-dispatcher/ekho.log ~/ekho-logs/ekho.log.2
sudo cp /var/log/speech-dispatcher/speech-dispatcher.log ~/ekho-logs/speech-dispatcher.log.2
sudo cp -r /var/crash ~/ekho-logs/
sudo chmod -R a+rw ~/ekho-logs
tar cJvf ~/ekho-logs.tar.xz ~/ekho-logs
sudo apt-get install -y curl
echo 'finish collecting logs. uploading logs'
curl -F"operation=upload" -F"file=@$HOME/ekho-logs.tar.xz" http://www.eguidedog.net/ekho/upload.php
echo 'finish uploading'
else
./install.pl
fi
1
https://gitee.com/mirrors/ekho.git
git@gitee.com:mirrors/ekho.git
mirrors
ekho
ekho
master

搜索帮助