diff options
author | Yash Karandikar | 2020-03-17 09:44:02 -0500 |
---|---|---|
committer | Yash Karandikar | 2020-03-17 09:44:02 -0500 |
commit | 0ad5bd20cf1a3d9e9d8b06799a4eb0ba7454909f (patch) | |
tree | 0d3d86e79bf0654aea1fcaae86c7fbdb37017dc1 | |
parent | ff3acd9d6ff0a3db23390a19d43e95fbeab2e04c (diff) | |
parent | 22576ad572dec48f28ad3d05cf4542c016ea4624 (diff) | |
download | aur-0ad5bd20cf1a3d9e9d8b06799a4eb0ba7454909f.tar.gz |
Change default configuration file location
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | haur | 4 |
4 files changed, 7 insertions, 7 deletions
@@ -12,9 +12,9 @@ pkgbase = haur source = haur source = haurrc source = Makefile - md5sums = 22c5c88ce11a0a12716ce8ae98bf2553 + md5sums = 1f5aeca9de0c6e25b5894c60ca8e733b md5sums = 2c9bb36e3d797a6a3462bf69b6033cfe - md5sums = c1051c8c4fe078e1f90b1ff0278f6a8d + md5sums = 4559d231974618def3ab832ad21f9e0d pkgname = haur @@ -3,6 +3,6 @@ clean: rm -rf pkg/ src/ install: install -Dm777 ${srcdir}/haur ${pkgdir}/usr/bin/haur - install -Dm644 ${srcdir}/haurrc ${pkgdir}/etc/haurrc + install -Dm644 ${srcdir}/haurrc ${pkgdir}/usr/share/haur/haurrc test: bash test.sh @@ -16,6 +16,6 @@ prepare () { package () { make install srcdir=$srcdir pkgdir=$pkgdir } -md5sums=('22c5c88ce11a0a12716ce8ae98bf2553' +md5sums=('1f5aeca9de0c6e25b5894c60ca8e733b' '2c9bb36e3d797a6a3462bf69b6033cfe' - 'c1051c8c4fe078e1f90b1ff0278f6a8d') + '4559d231974618def3ab832ad21f9e0d') @@ -9,9 +9,9 @@ if [ -f "$HOME"/.config/haurrc ]; then # shellcheck source=/dev/null source "$HOME"/.config/haurrc else - if [ -f /etc/haurrc ]; then + if [ -f /usr/share/haur/haurrc ]; then # shellcheck source=/dev/null - source /etc/haurrc + source /usr/share/haur/haurrc else die "fatal: No configuration file found" fi |