Browse Source

improved help text for getchroot

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/3/head
Thorsten Liebig 6 years ago
parent
commit
a246538e18
1 changed files with 20 additions and 4 deletions
  1. +20
    -4
      getchroot

+ 20
- 4
getchroot View File

@@ -34,20 +34,36 @@ function update_chroot {

function print_help {

echo '
echo "
./getchroot [option] <folder>

[option]: arch squeeze wheezy sid precise raring fedora
[option]:
arch: Arch Linux
squeeze: Debian 6 Squeeze
wheezy: Debian 7 Wheezy
sid: Debian Unstable
precise: Ubuntu LTS 12.04, Precise Pangolin
raring: Ubuntu 13.04, Raring Ringtail
fedora19: Fedora 19, Schrödinger's cat
fedora20: Fedora 20, Heisenbug

This will download a prepared tar.xz file to $_CHROOT and extract to your given folder

./getchroot update [option]

This will compare and download a prepared tar.xz file to $_CHROOT for later usage

EXAMPLES

:~$ ./getchroot arch mychrootarch/
This will download arch.tar.xz to $_CHROOT if not available and extract it to mychrootarch/

:~$ ./getchroot update arch
This will compare your local tar.xz container file with the online version. If they are different, it will be downloaded again.
'
This will compare your local arch.tar.xz container file with the online version. If they are different, it will be downloaded again.
Then do
:~$ ./getchroot arch mychrootarch/
to update to the latest container.
"

}



Loading…
Cancel
Save