[DRE-commits] [gitlab] 11/17: fix syntax/line break

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Feb 13 16:42:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit f656491a73aa78ca454c56c58ac22ac7ea33f899
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Feb 13 19:16:45 2016 +0530

    fix syntax/line break
---
 debian/rules | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4befcb3..6235edc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,10 @@ override_dh_install:
 	dh_systemd_enable gitlab.target
 	dh_systemd_start gitlab.target
 	# Make sure we are installing all required files in debian/install
-	a=$(ls -1 | wc -l); b=$(cat debian/install |cut -d' ' -f1|grep -v\
-	debian |wc -l); if ! [ $(echo "$a" - "$b"|bc) -eq 5 ]; then \
-	echo "Install newly added files or adjust the count in debian/rules"; fi
+	a=$(ls -1 | wc -l); b=$(cat debian/install |cut -d' '\
+	-f1|grep -v debian |wc -l); if ! [ $(echo "$a" - "$b"|bc) -eq 5 ];\
+	then echo "Install newly added files or adjust the count in\
+	debian/rules"; exit 1;fi
 
 override_dh_installinit:
 	dh_installinit --no-start

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list