summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-05-26 23:20:43 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-05-26 23:20:43 +0200
commit267d988ef6b6c839ecb837e350ce2861fc454dfd (patch)
tree9daaee4fa6fe6ef539bcd69a12675c8e0d3728fb
parent6698e6b73561a8e2d02895c6ee4ea0bcf0d3b582 (diff)
downloadnetctl-267d988ef6b6c839ecb837e350ce2861fc454dfd.tar.gz
netctl-267d988ef6b6c839ecb837e350ce2861fc454dfd.tar.xz
Remove /var/run/* from package and make sure the directory is created.
-rw-r--r--Makefile1
-rw-r--r--src/netcfg-menu2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3eab895..054ad23 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,6 @@ install:
install -d $(DESTDIR)/usr/lib/network/{connections,hooks} \
$(DESTDIR)/etc/network.d/{examples,hooks,interfaces} \
$(DESTDIR)/etc/rc.d \
- $(DESTDIR)/var/run/network/{interfaces,profiles} \
$(DESTDIR)/usr/share/man/{man5,man8} \
# Documentation
diff --git a/src/netcfg-menu b/src/netcfg-menu
index 872d904..ff57005 100644
--- a/src/netcfg-menu
+++ b/src/netcfg-menu
@@ -7,6 +7,8 @@ if [[ ! -x /usr/bin/dialog ]]; then
exit 1
fi
+check_make_state_dir
+
# JP: we'll use $STATE_DIR/menu to record what profile is being connected in this way
rm -f "$STATE_DIR/menu"