index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | scripts/repo-add.in | 4 |
diff --git a/scripts/repo-add.in b/scripts/repo-add.in index f8c71557..fdcc43a9 100644 --- a/scripts/repo-add.in +++ b/scripts/repo-add.in @@ -237,8 +237,8 @@ if [ $# -lt 2 ]; then fi # source system and user makepkg.conf -if [ -r /etc/makepkg.conf ]; then - source /etc/makepkg.conf +if [ -r @SYSCONFDIR@/makepkg.conf ]; then + source @SYSCONFDIR@/makepkg.conf else echo "ERROR: /etc/makepkg.conf not found. Can not continue." >&2 exit 1 # $E_CONFIG_ERROR # TODO: error codes |