xz: change to new library paths
[unleashed-userland.git] / components / system-tools-backends / patches / system-tools-backends-10-group-name-change.patch
blobf213048dba2a39e32acffe5cca6310b15a803302
1 --- system-tools-backends-1.4.2/users-conf.in.orig 2009-04-01 23:08:32.346712410 +0530
2 +++ system-tools-backends-1.4.2/users-conf.in 2009-04-01 23:08:47.268314722 +0530
3 @@ -1431,17 +1431,16 @@
5 else
7 - if ( $$new_data[$groups_propmap{"name"}] eq $$old_data[$group_prop_map{"name"}] )
8 + $command = "$cmd_groupmod " ;
9 + if ( $$new_data[$groups_prop_map{"name"}] ne $$old_data[$groups_prop_map{"name"}] )
11 - $command = "$cmd_groupmod -g \'" . $$new_data[$groups_prop_map{"gid"}] .
12 - "\' \'" . $$old_data[$groups_prop_map{"name"}] . "\'";
13 + $command = $command . "-n \'" . $$new_data[$groups_prop_map{"name"}] . "\' ";
15 - else
16 + if ( $$new_data[$groups_prop_map{"gid"}] ne $$old_data[$groups_prop_map{"gid"}] )
18 - $command = "$cmd_groupmod -g \'" . $$new_data[$groups_prop_map{"gid"}] .
19 - "\' -n \'" . $$new_data[$groups_prop_map{"name"}] . "\' " .
20 - "\'" . $$old_data[$groups_prop_map{"name"}] . "\'";
21 + $command = $command . "-g \'" . $$new_data[$groups_prop_map{"gid"}] . "\' ";
23 + $command = $command . "\'" . $$old_data[$groups_prop_map{"name"}] . "\'";
25 &gst_file_run ($command);