From a4bf5ecc5c9d73ac2252c0d4c0dedefa1ff1f1a9 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 13 Mar 2014 08:21:26 +0000
Subject: [PATCH] little fixes

---
 debian/control        | 2 +-
 debian/install-golang | 2 +-
 debian/rules          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 debian/install-golang

diff --git a/debian/control b/debian/control
index 3a4c8c8..881badc 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: audit
 Section: net
 Priority: extra
 Maintainer: ale <ale@incal.net>
-Build-Depends: debhelper (>= 8.0.0), libleveldb-dev, git
+Build-Depends: debhelper (>= 8.0.0), libleveldb-dev, git, rsync
 Standards-Version: 3.9.4
 Homepage: https://git.autistici.org/ai/audit
 
diff --git a/debian/install-golang b/debian/install-golang
old mode 100644
new mode 100755
index 63fc741..f89851f
--- a/debian/install-golang
+++ b/debian/install-golang
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Install Go.
 #
diff --git a/debian/rules b/debian/rules
index 52d5c4b..7ae7881 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ override_dh_install:
 	install -m 755 -o root -g root -d $(DEBDIR)/localauditd/usr/sbin
 	(export GOPATH=$(BUILDDIR) GOROOT=$(GOROOT) ; \
 	 mkdir -p $(GOROOT) $(BUILDDIR)/src/$(GOPKG) ; \
-	 $(CURDIR)/debian/install-golang $(GOROOT) $(GO_VERSION) ; \
+	 sh $(CURDIR)/debian/install-golang $(GOROOT) $(GO_VERSION) ; \
 	 rsync -a --exclude=debian --exclude=.git $(CURDIR)/ $(BUILDDIR)/src/$(GOPKG)/ ; \
 	 cd $(BUILDDIR)/src && \
 	 $(GOROOT)/bin/go get -d -v ./$(GOPKG)/... && \
-- 
GitLab