diff options
| author | Jeff Carr <[email protected]> | 2024-11-06 15:52:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-06 15:52:43 -0600 |
| commit | 32c023ac384eaf19d2f3a72e736632d465382d3e (patch) | |
| tree | 2656ae7cd77f449f8ad07cebc29fea356801b303 /buildPackage.go | |
| parent | ea894bdfe02ab691c934397e9d9ace356910f88e (diff) | |
add argv --keep-files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'buildPackage.go')
| -rw-r--r-- | buildPackage.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildPackage.go b/buildPackage.go index bf201c3..8c18df1 100644 --- a/buildPackage.go +++ b/buildPackage.go @@ -151,6 +151,10 @@ func (c *controlBox) buildPackage() (bool, error) { shell.Run([]string{"cp", "postinst", "files/DEBIAN/"}) } + if c.status == nil { + log.Warn("c.status == nil") + panic(-1) + } // experiment for the toolkit package // if the git repo has a "./build" script run it before packaging // this way the user can put custom files in the .deb package |
