summaryrefslogtreecommitdiff
path: root/buildPackage.go
diff options
context:
space:
mode:
Diffstat (limited to 'buildPackage.go')
-rw-r--r--buildPackage.go4
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