summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrdl2022-12-19 17:39:49 +0100
committerhrdl2022-12-19 17:39:49 +0100
commit1b6f54f8be56966fa1b6c76d2252b672d49cabea (patch)
tree814717662bcd2503b2c3879fc0c251ef03b13c2a
parentc6bc6ce9fd559279159edf425f7d163a0279dd07 (diff)
downloadaur-1b6f54f8be56966fa1b6c76d2252b672d49cabea.tar.gz
Consider renamed configuration file
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a9988ffcb918..66511efa39c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ pkgver() {
prepare() {
cd ${_src_dir_1}
- sed -i '/"host"/s/0.0.0.0/127.0.0.1/' config/default.json
+ sed -i '/"host"/s/0.0.0.0/127.0.0.1/' config/default.json5
git submodule init
git config submodule.modules/translate.url "$srcdir/translate"
git config submodule.modules/translators.url "$srcdir/translators"
@@ -70,7 +70,7 @@ package() {
install -d "$pkgdir"/usr/share/licenses/${pkgname%-git}
ln -s ../../../lib/node_modules/$_src_dir_1/COPYING "$pkgdir"/usr/share/licenses/${pkgname%-git}/LICENSE
- install -Dm 644 "$pkgdir"/usr/lib/node_modules/translation-server/config/default.json "$pkgdir/etc/${pkgname%-git}/default.json"
+ install -Dm 644 "$pkgdir"/usr/lib/node_modules/translation-server/config/default.json5 "$pkgdir/etc/${pkgname%-git}/default.json5"
install -Dm 644 "$pkgdir"/usr/lib/node_modules/translation-server/config/custom-environment-variables.json "$pkgdir/etc/${pkgname%-git}/custom-environment-variables.json"
install -Dm 644 "${pkgname%-git}".service \