commit:9c7cde8e92c615aa2a2733b12269e7358d3dde40
author:Chip Black
committer:Chip Black
date:Tue Aug 19 20:17:48 2008 -0500
parents:55a663cc23551253c89d19c99c52d8dceeda9575
Moved ag-passwd to /usr/bin so it may be run by normal users
diff --git a/install.pl b/install.pl
line changes: +7/-2
index 49de7c1..9523e43
--- a/install.pl
+++ b/install.pl
@@ -74,11 +74,16 @@ unless ($ans =~ /^([Yy]|)$/) {
 }
 
 print "Installing user binaries...\n";
-# No user binaries, LOL!
+mkpath($bin) unless -d $bin;
+for my $file (qw/ag-passwd/) {
+	print "$file => $bin/$file\n";
+	copy($file, "$bin/");
+	chmod 0755, "$bin/$file";
+}
 
 print "Installing superuser binaries...\n";
 mkpath($sbin) unless -d $sbin;
-for my $file (qw/ag-export ag-flush ag-import ag-keyring ag-listusers ag-passwd ag-update-shadow ag-update-openbsd ag-useradd ag-userdel/) {
+for my $file (qw/ag-export ag-flush ag-import ag-keyring ag-listusers ag-update-shadow ag-update-openbsd ag-useradd ag-userdel/) {
 	print "$file => $sbin/$file\n";
 	copy($file, "$sbin/");
 	chmod 0700, "$sbin/$file";