~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to build-installer.sh

  • Committer: Tony George
  • Date: 2013-10-24 15:11:55 UTC
  • Revision ID: teejee2008@gmail.com-20131024151155-3phu9mo26k2oflxq
Improved detection of disk partitions

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
sudo pbuilder --build  --buildresult ${arch} --basetgz "${tgz}base-${arch}.tgz" ${dsc}
26
26
 
 
27
#check for errors
 
28
if [ $? -ne 0 ]; then
 
29
        cd "$backup"
 
30
        echo "Failed"
 
31
        exit 1
 
32
fi
 
33
 
27
34
dpkg-deb -x ${arch}/timeshift*.deb ${arch}/extracted
28
35
 
29
36
cp -p --no-preserve=ownership -t ${arch}/extracted ./install.sh
30
37
 
31
38
makeself ${arch}/extracted ./timeshift-latest-${arch}.run "TimeShift (${arch})" ./install.sh 
32
39
 
 
40
#check for errors
 
41
if [ $? -ne 0 ]; then
 
42
        cd "$backup"
 
43
        echo "Failed"
 
44
        exit 1
 
45
fi
 
46
 
33
47
cp -p --no-preserve=ownership -t /home/teejee/Dropbox/Public/linux ./timeshift-latest-${arch}.run
34
48
 
35
49
done