Skip to content

Commit

Permalink
fix: append signature to proper FsGuard
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Jan 7, 2024
1 parent 79b20e4 commit f782588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func signFileList(module FsGuardModule) {
mainCommands = append(mainCommands, "cat /FsGuard/filelist.minisig >> /FsGuard/signature")
mainCommands = append(mainCommands, " echo -n \"----begin second attach----\" >> /FsGuard/signature")
mainCommands = append(mainCommands, fmt.Sprintf("tail -n1 %s/minisign.pub >> /FsGuard/signature", module.KeyPath))
mainCommands = append(mainCommands, "cat /FsGuard/signature >> /usr/bin/FsGuard")
mainCommands = append(mainCommands, "cat /FsGuard/signature >> /sources/FsGuard")
}

func BuildModule(moduleInterface interface{}, recipe *api.Recipe) (string, error) {
Expand Down

0 comments on commit f782588

Please sign in to comment.