~teejee2008/timeshift/trunk

13 by Tony George
Update build scripts
1
#!/bin/bash
2
3
backup=`pwd`
4
DIR="$( cd "$( dirname "$0" )" && pwd )"
5
cd "$DIR"
6
20 by Tony George
Updated build scripts
7
sh build-deb.sh
36 by Tony George
Improved detection of disk partitions
8
9
#check for errors
10
if [ $? -ne 0 ]; then
11
	cd "$backup"
12
	echo "Failed"
13
	exit 1
14
fi
15
13 by Tony George
Update build scripts
16
sudo gdebi --non-interactive ../builds/timeshift*.deb
17
36 by Tony George
Improved detection of disk partitions
18
#check for errors
19
if [ $? -ne 0 ]; then
20
	cd "$backup"
21
	echo "Failed"
22
	exit 1
23
fi
24
13 by Tony George
Update build scripts
25
cd "$backup"