~ubuntu-branches/ubuntu/natty/kadu/natty

« back to all changes in this revision

Viewing changes to varia/scripts/autopatch

  • Committer: Package Import Robot
  • Author(s): Kiszel Kristóf
  • Date: 2010-07-21 15:24:54 UTC
  • mfrom: (0.6.1) (0.5.1) (1.4.1) (22.1.2 maverick)
  • Revision ID: package-import@ubuntu.com-20100721152454-vttqle18lovfudni
Tags: 0.6.5.4.ds1-3ubuntu2
Remove libqt4-webkit-dev from build-depends and add
libqtwebkit-dev for qtwebkit transition

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
RET=0
 
4
MODULE=$1
 
5
 
 
6
KADU_VERSION=`cat VERSION`
 
7
 
 
8
KADU_VERSION=`echo $KADU_VERSION | sed s/-.*//`
 
9
 
 
10
if wget -q -T 20 -t 2 -N http://kadu.net/autopatch/$KADU_VERSION/$MODULE.patch; then
 
11
        echo -e "\033[32m>>>\033[0m Patching module $MODULE"
 
12
        patch -sfN -p0 < $MODULE.patch && rm -f $MODULE.patch
 
13
        RET=$((RET+1))
 
14
fi
 
15
 
 
16
exit $RET