From 4823e05ad1b2c8adfc191f31d3fe535df1326571 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 26 Jan 2009 15:24:08 -0600
Subject: Create /var/locl/subsys for etcnet

---
 abs/core-testing/etcnet/PKGBUILD       |  2 +-
 abs/core-testing/etcnet/etcnet.install | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/abs/core-testing/etcnet/PKGBUILD b/abs/core-testing/etcnet/PKGBUILD
index 7d3ce37..37e9f33 100755
--- a/abs/core-testing/etcnet/PKGBUILD
+++ b/abs/core-testing/etcnet/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=etcnet
 pkgver=0.9.7
-pkgrel=3
+pkgrel=5
 pkgdesc="/etc/net network configuration subsystem"
 url="http://etcnet.org/"
 depends=('bash' 'grep' 'sed' 'iproute' 'wireless_tools' 'iptables' 'dhcpcd')
diff --git a/abs/core-testing/etcnet/etcnet.install b/abs/core-testing/etcnet/etcnet.install
index 2605e95..a8b8b17 100755
--- a/abs/core-testing/etcnet/etcnet.install
+++ b/abs/core-testing/etcnet/etcnet.install
@@ -4,7 +4,11 @@
 # arg 1:  the new package version
 pre_install() {
   /bin/cp -Rf /etc/net /etc/net.pacsave >/dev/null 2>&1
-  /bin/true
+  if [ ! -d /var/lock/subsys ]
+  then
+  	mkdir -p /var/lock/subsys
+  fi
+  	
 }
 
 # arg 1:  the new package version
@@ -17,7 +21,10 @@ post_install() {
 # arg 2:  the old package version
 pre_upgrade() {
   /bin/cp -Rf /etc/net /etc/net.pacsave >/dev/null 2>&1
-  /bin/true
+  if [ ! -d /var/lock/subsys ]
+  then
+  	mkdir -p /var/lock/subsys
+  fi
 }
 
 # arg 1:  the new package version
-- 
cgit v0.12

