Update files to be instaled and file count check

This commit is contained in:
Pirate Praveen 2018-11-08 21:25:13 +05:30
parent ea6a49adbe
commit cfa971508f
2 changed files with 3 additions and 3 deletions

View file

@ -22,8 +22,6 @@ CONTRIBUTING.md usr/share/gitlab
doc usr/share/gitlab
docker usr/share/gitlab
docker-compose.yml usr/share/gitlab
doc_styleguide.md usr/share/gitlab
features usr/share/gitlab
fixtures usr/share/gitlab
Gemfile usr/share/gitlab
generator_templates usr/share/gitlab

View file

@ -1,6 +1,8 @@
# set -x # use this for debugging
ucount=$(ls -1a |grep -vx .git | wc -l)
dcount=$(cat debian/gitlab.install |cut -d' ' -f1|grep -v debian |wc -l)
ignored=32
ignored=33
if ! [ $(echo "$ucount" - "$dcount"|bc) -eq $ignored ]; then
echo "Found new files added by upstream and not added to debian/install"
echo "Add them to debian/gitlab.install or adjust 'ignored=${ignored}'"