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
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 '-'`
ARCH=`basename $0 | cut -f3 -d '-'`
......@@ -11,7 +11,7 @@ BASE_DIR="$HOME/pbuilder"
APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH"
OTHER=""
type() {
kind() {
contains() {
local n=$#
local value=${!n}
......@@ -82,7 +82,7 @@ execute() {
case $OPERATION in
create|update|build|clean|login|execute )
type
kind
sett
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