Browse Source

add squeeze container

pull/1/head
Markus Bergholz 6 years ago
parent
commit
ebe2d32eb0
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      getchroot

+ 10
- 0
getchroot View File

@@ -98,6 +98,16 @@ elif (("$#" == 2)); then
wget -P ~/.getchroot/ http://getchroot.osuv.de/fedora.tar.xz
tar -C $2 -xf ~/.getchroot/fedora.tar.xz
fi

elif [[ "$1" = "squeeze" ]]; then
mkdir -p ~/.getchroot/
mkdir -p $2
if [ -f ~/.getchroot/squeeze.tar.xz ]; then
tar -C $2 -xf ~/.getchroot/squeeze.tar.xz
else
wget -P ~/.getchroot/ http://getchroot.osuv.de/squeeze.tar.xz
tar -C $2 -xf ~/.getchroot/squeeze.tar.xz
fi
else
echo -e "unknown option\n"
fi


Loading…
Cancel
Save