makedeb
A script that makes it easy to connect Network Manager to a VPN Gate
Click here to go back to the commit logs for nm-vpngate.
Hash: 9e724d53d76f21c9488d29b890e26445649216a3
Message: update
diff --git a/.SRCINFO b/.SRCINFO
index 21c45ac..7c33d0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = nm-vpngate
pkgbase = nm-vpngate
pkgdesc = A script that makes it easy to connect Network Manager to a VPN Gate
-pkgrel = 1
+pkgrel = 2
pkgver = 87
url = https://github.com/Hayao0819/nm-vpngate
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 08533f4..822b56c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname="nm-vpngate"
pkgname="${_pkgname}"
pkgver=87
-pkgrel=1
+pkgrel=2
pkgdesc="A script that makes it easy to connect Network Manager to a VPN Gate"
arch=('any')
url="https://github.com/Hayao0819/nm-vpngate"
@@ -24,13 +24,14 @@ md5sums=('SKIP')
package() {
-cd "${srcdir}"
-cat <<EOF > in.install
+
+postrm="${srcdir}/in.install"
+
+echo "
#!/bin/sh
systemctl daemon-reload
-EOF
+EOF" > "${postrm}"
-postrm="${srcdir}/in.install"
postinst="${postrm}"
cd "${srcdir}/${_pkgname}"