[util] manjaro-tools.conf override is now in $HOME/.config/manjaro-tools

This commit is contained in:
udeved 2015-12-03 20:37:27 +01:00
parent 4564d5bb10
commit 4d23822e89
2 changed files with 4 additions and 3 deletions

View file

@ -23,7 +23,7 @@ $HOME/.config/manjaro-tools.conf
If the userconfig is present, manjaro-tools will load the userconfig values, however, if variables have been set in the systemwide
~~~
/etc/manjaro-tools/manjaro-tools.conf
/etc/manjaro-tools/manjaro-tools/manjaro-tools.conf
~~~
these values take precedence over the userconfig.
@ -137,7 +137,7 @@ It it run in a abs/pkgbuilds directory which contains directories with PKGBUILD.
~~~
$ buildpkg -h
Usage: buildpkg [options] [--] [makepkg args]
Usage: buildpkg [options]
-p <pkg> Buildset or pkg [default: default]
-a <arch> Arch [default: auto]
-b <branch> Branch [default: stable]

View file

@ -323,7 +323,8 @@ load_user_info(){
USER_HOME=$HOME
fi
USER_CONFIG="$USER_HOME/.config"
USER_CONFIG="$USER_HOME/.config/manjaro-tools"
prepare_dir "$USER_CONFIG"
}
show_version(){