Moved ag-passwd to /usr/bin so it may be run by normal users
}
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";