1
0
mirror of https://github.com/danog/gigaclone.git synced 2024-12-02 09:27:55 +01:00

Update .travis.gigaclone

This commit is contained in:
Video download 2015-09-27 11:44:47 +02:00
parent ca824f869e
commit 99955d705b

View File

@ -1,12 +1,25 @@
#!/bin/bash #!/bin/bash
set -e set -e
git config --global user.name "${GIT_NAME}" dir="$PWD"
git config --global user.email "${GIT_EMAIL}" git log -1 --pretty=%B | grep list && {
git config --global push.default simple
t() { t() {
until [ "$(ps aux | grep wget | grep -v grep)" = "" ]; do echo Still working;sleep 60;done until [ "$(ps aux | grep wget | grep -v grep)" = "" ]; do echo Still working;sleep 60;done
} }
dir="$PWD" echo "Download everything."
wget -i $dir/urllist -x -N -q -P $dir | t
copy="$dir/copy"
mkdir $copy
mv profile.gigaset.net $copy
wget https://copy.com/install/linux/Copy.tgz
tar xvzf Copy.tgz
cd copy/x86_64
./CopyConsole -u=$user -r=$copy -p=$pass
} || {
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
git config --global push.default simple
tmp="$dir/tmp" tmp="$dir/tmp"
mkdir $tmp mkdir $tmp
cd $tmp cd $tmp
@ -31,17 +44,5 @@ git push origin master &>/dev/null
cd $dir cd $dir
echo "Clean up." echo "Clean up."
rm -r $tmp rm -fr $tmp
}
echo "Download everything."
wget -i $dir/urllist -x -N -q -P $dir | t
copy="$dir/copy"
mkdir $copy
mv profile.gigaset.net $copy
wget https://copy.com/install/linux/Copy.tgz
tar xvzf Copy.tgz
cd copy/x86_64
./CopyConsole -u=$user -r=$copy -p=$pass