This commit is contained in:
2025-02-23 21:02:23 -06:00
parent a0bf51636c
commit 4fa5efa5b6
6 changed files with 38 additions and 38 deletions

View File

@@ -256,7 +256,7 @@ func expandEnvVars(backyEnv map[string]string, envVars []string) {
// Returns the modified Command with the package- or userManager command as Cmd and the package- or userOperation as args, plus any additional Args
func getCommandTypeAndSetCommandInfo(command *Command) *Command {
if command.Type == Package && !command.packageCmdSet {
if command.Type == PackageCT && !command.packageCmdSet {
command.packageCmdSet = true
switch command.PackageOperation {
case "install":
@@ -270,7 +270,7 @@ func getCommandTypeAndSetCommandInfo(command *Command) *Command {
}
}
if command.Type == User && !command.userCmdSet {
if command.Type == UserCT && !command.userCmdSet {
command.userCmdSet = true
switch command.UserOperation {
case "add":