configure-update: support loading local configuration
This commit is contained in:
parent
fa0a08e584
commit
228aa268f8
|
@ -32,6 +32,8 @@ PREFIX="@PREFIX@"
|
|||
LIBEXECDIR="$PREFIX/libexec"
|
||||
PROGNAME="configure-update"
|
||||
PROJECTCONF="project.conf"
|
||||
SYSCONFDIR="@SYSCONFDIR@"
|
||||
VENDOR="DeforaOS"
|
||||
VERBOSE=1
|
||||
#executables
|
||||
CMP="cmp"
|
||||
|
@ -39,6 +41,12 @@ CP="cp -f"
|
|||
DEBUG=
|
||||
FIND="find"
|
||||
|
||||
#load local settings
|
||||
[ -f "$SYSCONFDIR/$VENDOR/$PROGNAME.conf" ] &&
|
||||
. "$SYSCONFDIR/$VENDOR/$PROGNAME.conf"
|
||||
[ -f "$HOME/.config/$VENDOR/$PROGNAME.conf" ] &&
|
||||
. "$HOME/.config/$VENDOR/$PROGNAME.conf"
|
||||
|
||||
|
||||
#functions
|
||||
#configure_update
|
||||
|
|
Loading…
Reference in New Issue
Block a user