Index: trunk/debs/update.sh |
— | — | @@ -1,7 +1,16 @@ |
2 | 2 | #!/bin/bash |
| 3 | +# |
| 4 | +# This script is used to update a .deb package from the subversion repository |
| 5 | +# and then update the WMF apt repository. |
| 6 | +# |
| 7 | +# Usage: update.sh <package> |
| 8 | +# |
| 9 | +# Author: Tim Starling 2007,2008,2010 |
3 | 10 | |
| 11 | +# Exit immediately if a command exits with a non-zero status |
4 | 12 | set -e |
5 | 13 | |
| 14 | +# We do require a package name as argument |
6 | 15 | if [ -z $1 ];then |
7 | 16 | echo "Usage: update.sh <package>" |
8 | 17 | fi |