Update files to be instaled and file count check
This commit is contained in:
parent
ea6a49adbe
commit
cfa971508f
2 changed files with 3 additions and 3 deletions
2
debian/gitlab.install
vendored
2
debian/gitlab.install
vendored
|
@ -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
|
||||
|
|
4
debian/upstream-file-count-check.sh
vendored
4
debian/upstream-file-count-check.sh
vendored
|
@ -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}'"
|
||||
|
|
Loading…
Reference in a new issue