mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
7f65afe3f3
svn path=/nixpkgs/trunk/; revision=24929
13 lines
485 B
Diff
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 $@
|