diff --git a/README.md b/README.md index 3cb5f58..1a263f9 100644 --- a/README.md +++ b/README.md @@ -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 Buildset or pkg [default: default] -a Arch [default: auto] -b Branch [default: stable] diff --git a/lib/util.sh b/lib/util.sh index 2a96df4..7b35804 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -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(){