Commit 867cf4cf authored by Stefano Capitani's avatar Stefano Capitani

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

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent 63b4efcd
......@@ -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.
......
......@@ -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 ;;
......
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