Done -i flag > initialize iso-profiles folder as user request

Signed-off-by: Ste74 <stefano@manjaro.org>
This commit is contained in:
Ste74 2018-09-23 17:46:34 +02:00
parent 63b4efcd25
commit 867cf4cff2
No known key found for this signature in database
GPG key ID: 8DB9F8C18DF53602
2 changed files with 5 additions and 5 deletions

View file

@ -200,7 +200,7 @@ buildiso is used to build manjaro-iso-profiles. It is run insde the profiles fol
~~~
$ buildiso -h
Usage: buildiso [options]
-I Initialize iso-profiles repo [default: v17.1]"
-i Initialize iso-profiles repo [default: v17.1]"
-a <arch> Arch [default: auto]
-b <branch> Branch [default: stable]
-c Disable clean work dir
@ -228,7 +228,7 @@ Usage: buildiso [options]
* Remember: if you run buildiso for the first time you need to do:
~~~
buildiso -I
buildiso -i
~~~
for download in /usr/share/manjaro-tools/iso-profiles our manjaro profiles. You can override in manjaro-tools.conf what branch use with buildiso: v17.1 or master ( development profiles ). The previous command can be used to refresh the profiles as needed in your local.

View file

@ -104,7 +104,7 @@ initialize=false
usage() {
echo "Usage: ${0##*/} [options]"
echo " -I Initialize iso-profiles repo [default: ${branch}]"
echo " -i Initialize iso-profiles repo [default: ${branch}]"
echo " -p <profile> Buildset or profile [default: ${build_list_iso}]"
echo " -a <arch> Arch [default: ${target_arch}]"
echo " -b <branch> Branch [default: ${target_branch}]"
@ -134,11 +134,11 @@ usage() {
orig_argv=("$@")
opts='p:a:b:r:t:k:i:g:d:cfzxmvqhI'
opts='p:a:b:r:t:k:g:d:cfzxmvqhi'
while getopts "${opts}" arg; do
case "${arg}" in
I) initialize=true ;;
i) initialize=true ;;
a) target_arch="$OPTARG" ;;
b) target_branch="$OPTARG" ;;
c) clean_first=false ;;