opt_dir_name=false
opt_nochkver=false
opt_nobuiltin=false
+opt_allarch=false
alteriso_version="3.0"
mode=""
echo " -a Only additional channels"
echo " -b Exclude built-in channels"
echo " -d Display directory names of all channel as it is"
+ echo " -m Only channels supported by allarch.sh"
echo " -n Ignore channel version"
echo " -v [ver] Specifies the AlterISO version"
echo " -h This help message"
fi
done
if [[ "${opt_nobuiltin}" = false ]]; then
- channellist+=("rebuild")
+ if [[ "${opt_allarch}" = false ]]; then
+ channellist+=("rebuild")
+ fi
channellist+=("clean")
fi
}
echo "${channellist[*]}"
}
-while getopts 'abdhnv:' arg; do
+while getopts 'abdhmnv:' arg; do
case "${arg}" in
a) opt_only_add=true ;;
b) opt_nobuiltin=true ;;
d) opt_dir_name=true ;;
+ m) opt_allarch=true;;
n) opt_nochkver=true ;;
v) alteriso_version="${OPTARG}" ;;
h) _help ; exit 0 ;;