(let ((darch build-debian-architecture))
(set-file-modes! (string build-dir"/"name"_"vers"_"darch".deb") #o444)
(set-file-modes! (string build-dir"/"name"_"vers"_"darch".changes") #o444)
+ (let ((f (string build-dir"/"name"_"vers"_"darch".buildinfo")))
+ (if (file-exists? f) (set-file-modes! f #o444)))
+ (let ((f (string build-dir"/"name"-dbgsym_"vers"_"darch".ddeb")))
+ (if (file-exists? f) (set-file-modes! f #o444)))
(run "rm -rf "pkgdir)
(run "sudo "project-name"-install "name"_"vers"_"darch".deb"))))