- Revert last commit and back to use alias user, that is the default.
- Fix mkaliasdir accordingly
This commit is contained in:
parent
bc5f4400ca
commit
e1ed2e8e9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154836
2 changed files with 4 additions and 4 deletions
|
@ -19,9 +19,9 @@ do Getopts('vf:');
|
|||
$verbose = 0 unless ($verbose = $opt_v);
|
||||
$aliases = $ALIASES unless ($aliases = $opt_f);
|
||||
|
||||
if (($aliasdir = (getpwnam("qalias"))[7]) eq "")
|
||||
if (($aliasdir = (getpwnam("alias"))[7]) eq "")
|
||||
{
|
||||
die "User qalias does not exist, bailing!\n";
|
||||
die "User alias does not exist, bailing!\n";
|
||||
}
|
||||
|
||||
if (($qmaildir = (getpwnam("qmaild"))[7]) eq "")
|
||||
|
|
|
@ -32,7 +32,7 @@ switch ($argv[2])
|
|||
case "PRE-INSTALL":
|
||||
set groups = (qmail qnofiles);
|
||||
set gids = (82 81);
|
||||
set users = (qalias qmaild qmaill qmailp qmailq qmailr qmails);
|
||||
set users = (alias qmaild qmaill qmailp qmailq qmailr qmails);
|
||||
set users_g = (qnofiles qnofiles qnofiles qnofiles qmail qmail qmail);
|
||||
set uids = (81 82 83 84 85 86 87);
|
||||
|
||||
|
@ -64,7 +64,7 @@ case "PRE-INSTALL":
|
|||
pw usershow $user >& /dev/null;
|
||||
|
||||
if ($status) then
|
||||
if ($user == "qalias") then
|
||||
if ($user == "alias") then
|
||||
set home = ${PKG_PREFIX}/alias;
|
||||
else
|
||||
set home = ${PKG_PREFIX};
|
||||
|
|
Loading…
Reference in a new issue