[arch-commits] Commit in logwatch/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Sep 23 15:28:37 UTC 2019


    Date: Monday, September 23, 2019 @ 15:28:36
  Author: spupykin
Revision: 511590

upgpkg: logwatch 7.5.2-6

Modified:
  logwatch/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 13:43:57 UTC (rev 511589)
+++ PKGBUILD	2019-09-23 15:28:36 UTC (rev 511590)
@@ -3,7 +3,7 @@
 
 pkgname=logwatch
 pkgver=7.5.2
-pkgrel=5
+pkgrel=6
 arch=('any')
 pkgdesc="Logwatch is a customizable log analysis system."
 url="http://www.logwatch.org/"
@@ -52,6 +52,7 @@
 	echo "$pkgdir/usr/share/logwatch" | sh install_logwatch.sh --systemd
 	ln -sf /usr/share/logwatch/scripts/logwatch.pl "$pkgdir"/usr/bin/logwatch
 	rm -rf "$pkgdir"/usr/lib/systemd/system/multi-user.target.wants
+	sed -i "s|$pkgdir||g" "$pkgdir"/usr/share/logwatch/scripts/logwatch.pl
 
 	install -Dm0644 "$srcdir"/cron.conf "$pkgdir"/usr/share/logwatch/dist.conf/logfiles/cron.conf
 	install -Dm0644 "$srcdir"/maillog.conf "$pkgdir"/usr/share/logwatch/dist.conf/logfiles/maillog.conf



More information about the arch-commits mailing list