makedeb


magpie 1.2.0-4


Bidirectional NDP proxy and route maintainer to relay an IPv6 SLAAC network

Click here to go back to the commit logs for magpie.

Commit:


Hash: a761d3c449603190a55df2b272438f6980de7062

Message: Add missing "-p" to mkdir command

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 475bd62..68eb966 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = magpie
 pkgbase = magpie
 pkgdesc = Bidirectional NDP proxy and route maintainer to relay an IPv6 SLAAC network
-pkgrel = 1
+pkgrel = 2
 pkgver = 1.2.0
 url = https://github.com/Menci/magpie
 arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 75f0737..0464e80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=magpie
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Bidirectional NDP proxy and route maintainer to relay an IPv6 SLAAC network"
 arch=(any)
 url="https://github.com/Menci/magpie"
@@ -36,7 +36,7 @@ package() {
   install -Dm0644 "$srcdir/$pkgname/examples/systemd/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
 
   # Data directory
-  mkdir "$pkgdir/var/lib/magpie"
+  mkdir -p "$pkgdir/var/lib/magpie"
 
   # License
   install -Dm0644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"