nixpkgs/pkgs/tools/networking/wicd/mkdir-networks.patch
Russell O'Connor 7f65afe3f3 Update wicd to 1.7.0
svn path=/nixpkgs/trunk/; revision=24929
2010-11-29 20:15:44 +00:00

13 lines
485 B
Diff

wicd normally makes the NETWORKS directory and install the dhclient.conf.template.default at install time,
but we cannot do that, so we make it at runtime instead.
--- wicd-1.7.0/in/scripts=wicd.in 2010-01-14 23:49:11.000000000 -0500
+++ wicd-1.7.0/in/scripts=wicd.in 2010-11-16 22:35:50.272555487 -0500
@@ -1,3 +1,6 @@
#!/bin/bash
+mkdir -p %NETWORKS%
+ln -sf @TEMPLATE-DEFAULT@ %ETC%dhclient.conf.template.default
+
exec %PYTHON% -O %SHARE%daemon/wicd-daemon.py $@