diff src/pkg.pl @ 23:4d1bc23e4d09

implemented acl saving.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 07:47:08 +0000
parents 43cfd1a2c523
children d956ace7380e
line wrap: on
line diff
     1.1 --- a/src/pkg.pl	Thu Jan 10 07:36:04 2013 +0000
     1.2 +++ b/src/pkg.pl	Thu Jan 10 07:47:08 2013 +0000
     1.3 @@ -87,6 +87,10 @@
     1.4    ("install", "-g", "hg-wheel", "-o", "hg-committer",
     1.5     "-m", "6111", "/pkg/hg-committer/hg-wrapper", "$pkg_home/.hg-wrapper");
     1.6  
     1.7 +@pkg_copy_save_acls_cmd =
     1.8 +  ("install", "-g", "root", "-o", "root",
     1.9 +   "-m", "6111", "/pkg/hg-committer/save-acls", "$pkg_home/.save-acls");
    1.10 +
    1.11  sub execute{print "\t@_\n"; system(@_) and die $!;}
    1.12  
    1.13  #determine if the user already exists:
    1.14 @@ -110,6 +114,7 @@
    1.15  print "Copy Default Files.\n";
    1.16  
    1.17  execute(@pkg_copy_hg_wrapper_cmd);
    1.18 +execute(@pkg_copy_save_acls_cmd);
    1.19  copy_default_file(".profile");
    1.20  
    1.21  #execute(@pkg_link_bashrc_cmd);