20
by Tony George
Updated build scripts |
1 |
#!/bin/bash
|
2 |
||
3 |
backup=`pwd` |
|
4 |
DIR="$( cd "$( dirname "$0" )" && pwd )" |
|
5 |
cd "$DIR" |
|
6 |
||
7 |
sh build-installer.sh |
|
8 |
||
36
by Tony George
Improved detection of disk partitions |
9 |
#check for errors
|
10 |
if [ $? -ne 0 ]; then |
|
11 |
cd "$backup" |
|
12 |
echo "Failed" |
|
13 |
exit 1 |
|
14 |
fi
|
|
15 |
||
16 |
cd installer
|
|
17 |
for arch in i386 amd64
|
|
18 |
do
|
|
19 |
cp -p --no-preserve=ownership -t /home/teejee/Dropbox/Public/linux ./timeshift-latest-${arch}.run |
|
94
by Tony George
Updated build and install scripts |
20 |
cp -p --no-preserve=ownership -t /home/teejee/Dropbox/Public/linux ./timeshift-latest-${arch}.deb |
36
by Tony George
Improved detection of disk partitions |
21 |
done
|
175
by Tony George
Updated build dependency to valac-0.26, libgee-0.8 |
22 |
cd ..
|
23 |
||
24 |
sh push.sh |
|
25 |
#check for errors
|
|
26 |
if [ $? -ne 0 ]; then |
|
27 |
cd "$backup" |
|
28 |
echo "Failed" |
|
29 |
exit 1 |
|
30 |
fi
|
|
36
by Tony George
Improved detection of disk partitions |
31 |
|
20
by Tony George
Updated build scripts |
32 |
cd "$backup" |