nixpkgs/pkgs/tools/networking/wicd/mkdir-networks.patch
Lluís Batlle i Rossell 3a400bb64a Adding wicd, written by roconnor, sent to the nix-dev list on 2010-01-07
svn path=/nixpkgs/trunk/; revision=19297
2010-01-07 17:49:45 +00:00

12 lines
355 B
Diff

wicd normally makes the NETWORKS directory at install time, but we cannot do that,
so we make it at runtime instead.
--- wicd-1.6.2.2/in/scripts=wicd.in 2009-09-01 11:05:31.000000000 -0400
+++ wicd-1.6.2.2/in/scripts=wicd.in 2010-01-04 18:01:57.000000000 -0500
@@ -1,3 +1,5 @@
#!/bin/bash
+mkdir -p %NETWORKS%
+
exec python -O %LIB%wicd-daemon.py $@