[arch-commits] Commit in dnsmasq/trunk (PKGBUILD dnsmasq.install)

Paul Mattal paul at archlinux.org
Mon Jul 21 21:20:45 UTC 2008


    Date: Monday, July 21, 2008 @ 17:20:45
  Author: paul
Revision: 5974

upgpkg: dnsmasq 2.43-2
    update to 2.43, fix message to be only on install, not on upgrade

Modified:
  dnsmasq/trunk/PKGBUILD
  dnsmasq/trunk/dnsmasq.install

-----------------+
 PKGBUILD        |    2 +-
 dnsmasq.install |   13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-21 21:08:26 UTC (rev 5973)
+++ PKGBUILD	2008-07-21 21:20:45 UTC (rev 5974)
@@ -4,7 +4,7 @@
 
 pkgname=dnsmasq
 pkgver=2.43
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight DNS/DHCP server ideal for small/home networks using NAT"
 arch=(i686 x86_64)
 source=(http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz \

Modified: dnsmasq.install
===================================================================
--- dnsmasq.install	2008-07-21 21:08:26 UTC (rev 5973)
+++ dnsmasq.install	2008-07-21 21:20:45 UTC (rev 5974)
@@ -1,11 +1,5 @@
 # arg 1: the new package version
 post_install() {
-	/bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
 	echo "=========================================================="
 	echo "| IMPORTANT: Unless you want to run dnsmasq as root, you |"
 	echo "|     must either enable CONFIG_SECURITY_CAPABILITIES in |"
@@ -14,8 +8,15 @@
 	echo "| For more details on configuring dnsmasq, visit:        |"
 	echo "|     http://www.thekelleys.org.uk/dnsmasq/doc.html      |"
 	echo "=========================================================="
+	/bin/true
 }
 
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+	/bin/true
+}
+
 # arg 1: the old package version
 pre_remove() {
 	/bin/true





More information about the arch-commits mailing list