comparison src/pkg.pl @ 19:4fbe69d24a9c

major consolidation.
author Robert McIntyre <rlm@mit.edu>
date Wed, 09 Jan 2013 12:32:58 +0000
parents cd47c42f1d0a
children c75924bd38e3
comparison
equal deleted inserted replaced
18:b38744722d75 19:4fbe69d24a9c
73 @pkg_add_install_cmd = 73 @pkg_add_install_cmd =
74 ("gpasswd", "--add", $pkg_name, "install"); 74 ("gpasswd", "--add", $pkg_name, "install");
75 75
76 @pkg_link_bashrc_cmd = 76 @pkg_link_bashrc_cmd =
77 ("install", "-g", $pkg_name, "-o", $pkg_name, 77 ("install", "-g", $pkg_name, "-o", $pkg_name,
78 "/pkg/defaults/.profile", "$pkg_home/.profile"); 78 "/pkg/hg-committer/.profile", "$pkg_home/.profile");
79 79
80 @pkg_copy_hg_wrapper_cmd = 80 @pkg_copy_hg_wrapper_cmd =
81 (install, "-g", "hg-wheel", "-o", "hg-committer", 81 (install, "-g", "hg-wheel", "-o", "hg-committer",
82 "-m", "6111", "/pkg/defaults/.hg-wrapper", $pkg_home); 82 "-m", "6111", "/pkg/hg-committer/.hg-wrapper", $pkg_home);
83 83
84 sub execute{print "\t@_\n"; system(@_) and die $!;} 84 sub execute{print "\t@_\n"; system(@_) and die $!;}
85 85
86 #determine if the user already exists: 86 #determine if the user already exists:
87 `id $pkg_name 2>/dev/null`; 87 `id $pkg_name 2>/dev/null`;