Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/repo-remove.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/repo-remove.in')
-rw-r--r--scripts/repo-remove.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/repo-remove.in b/scripts/repo-remove.in
index 18291f65..0bb37075 100644
--- a/scripts/repo-remove.in
+++ b/scripts/repo-remove.in
@@ -93,8 +93,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