Remove .conf extension from acpid config files

This should fix #51
This commit is contained in:
Alexander Inyukhin 2012-12-15 15:31:32 +04:00 committed by Jan Malakhovski
parent 4e64755b9d
commit 462a9f9fb0
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ let
''
ensureDir $out
${
# Generate a .conf file for each event. (You can't have
# Generate a configuration file for each event. (You can't have
# multiple events in one config file...)
let f = event:
''
fn=$out/${event.name}.conf
fn=$out/${event.name}
echo "event=${event.event}" > $fn
echo "action=${pkgs.writeScript "${event.name}.sh" event.action}" >> $fn
'';