Removed from buildtree the manjaro stuff

Signed-off-by: Ste74 <stefano@manjaro.org>
This commit is contained in:
Ste74 2018-11-01 18:14:19 +01:00
parent 2c76ba5d6c
commit 8f4742cd4a
No known key found for this signature in database
GPG key ID: 8DB9F8C18DF53602

View file

@ -23,7 +23,7 @@ display_settings(){
show_config show_config
msg "ARGS:" msg "ARGS:"
msg2 "sync: %s" "${sync}" # msg2 "sync: %s" "${sync}"
msg2 "abs: %s" "${abs}" msg2 "abs: %s" "${abs}"
msg2 "clean: %s" "${clean}" msg2 "clean: %s" "${clean}"
@ -38,14 +38,14 @@ load_user_info
load_config "${USERCONFDIR}/manjaro-tools.conf" || load_config "${SYSCONFDIR}/manjaro-tools.conf" load_config "${USERCONFDIR}/manjaro-tools.conf" || load_config "${SYSCONFDIR}/manjaro-tools.conf"
sync=false #sync=false
pretend=false pretend=false
abs=false abs=false
clean=false clean=false
usage() { usage() {
echo "Usage: ${0##*/} [options]" echo "Usage: ${0##*/} [options]"
echo " -s Sync manjaro tree" #echo " -s Sync manjaro tree"
echo " -a Sync arch abs" echo " -a Sync arch abs"
echo ' -c Clean package tree' echo ' -c Clean package tree'
echo ' -q Query settings' echo ' -q Query settings'
@ -57,14 +57,14 @@ usage() {
orig_argv=("$@") orig_argv=("$@")
opts='sacqh' opts='acqh'
while getopts "${opts}" arg; do while getopts "${opts}" arg; do
case "${arg}" in case "${arg}" in
a) abs=true ;; a) abs=true ;;
c) clean=true ;; c) clean=true ;;
q) pretend=true ;; q) pretend=true ;;
s) sync=true ;; #s) sync=true ;;
h|?) usage 0 ;; h|?) usage 0 ;;
*) echo "invalid argument '${arg}'"; usage 1 ;; *) echo "invalid argument '${arg}'"; usage 1 ;;
esac esac
@ -80,6 +80,6 @@ ${pretend} && display_settings && exit 1
${clean} && clean_dir "${tree_dir}" ${clean} && clean_dir "${tree_dir}"
${sync} && sync_tree_manjaro #${sync} && sync_tree_manjaro
${abs} && sync_tree_abs ${abs} && sync_tree_abs