summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2021-04-20 13:10:30 +0200
committerJan Alexander Steffens (heftig)2021-04-20 13:16:42 +0200
commit12feb5e4c5d36dd062ed4585331945bbc8898850 (patch)
tree4d90f019237be30e9375dd5e792adf071465956f
parent6c34f7c021d08d5f3a472e990dffa2810ee10146 (diff)
downloadaur-12feb5e4c5d36dd062ed4585331945bbc8898850.tar.gz
2021.04.10.00-2: Ship a default config file
To make watchman stop complaining. To override the default config, /etc/watchman.json should be created.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13dfd8e2ac79..a0902af0a44a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = watchman-bin
pkgdesc = An inotify-based file watching and job triggering command line utility
pkgver = 2021.04.19.00
- pkgrel = 1
+ pkgrel = 2
url = https://facebook.github.io/watchman/
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index f9fdef9ed2be..180a51974d60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=watchman-bin
pkgver=2021.04.19.00
-pkgrel=1
+pkgrel=2
pkgdesc="An inotify-based file watching and job triggering command line utility"
url="https://facebook.github.io/watchman/"
arch=(x86_64)
@@ -36,6 +36,7 @@ package() {
install -Dm644 /dev/stdin "$pkgdir"/usr/lib/tmpfiles.d/watchman.conf <<END
d /run/watchman 1777 root root
END
+ echo '{}' | install -Dm644 /dev/stdin "$pkgdir"/etc/watchman.json.default
}
# vim:set sw=2 et: