Commit 16aa2606 authored by Mattia Rizzolo's avatar Mattia Rizzolo

pbuilder script: s/type/kind/ fuction name. Add lucid, maverick, devel ubuntu releases

parent 1d2ddbc9
#!/bin/bash #!/bin/bash
debians=(squeezy wheezy jessie testing sid unstable experimental) debians=(squeezy wheezy jessie testing sid unstable experimental)
ubuntus=(natty oneiric precise quantal raring saucy trusty) ubuntus=(lucid maverick natty oneiric precise quantal raring saucy trusty devel)
DIST=`basename $0 | cut -f2 -d '-'` DIST=`basename $0 | cut -f2 -d '-'`
ARCH=`basename $0 | cut -f3 -d '-'` ARCH=`basename $0 | cut -f3 -d '-'`
...@@ -11,7 +11,7 @@ BASE_DIR="$HOME/pbuilder" ...@@ -11,7 +11,7 @@ BASE_DIR="$HOME/pbuilder"
APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH" APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH"
OTHER="" OTHER=""
type() { kind() {
contains() { contains() {
local n=$# local n=$#
local value=${!n} local value=${!n}
...@@ -82,7 +82,7 @@ execute() { ...@@ -82,7 +82,7 @@ execute() {
case $OPERATION in case $OPERATION in
create|update|build|clean|login|execute ) create|update|build|clean|login|execute )
type kind
sett sett
execute execute
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment