debian-mirror-gitlab/debian/rules

57 lines
3.4 KiB
Text
Raw Normal View History

2014-09-02 17:59:05 +05:30
#!/usr/bin/make -f
%:
dh $@ --with=systemd
2016-02-04 16:22:17 +05:30
override_dh_install:
2016-07-17 23:33:09 +05:30
dh_install -XLICENSE
2016-02-13 19:11:17 +05:30
# Make sure we are installing all required files in debian/install
2016-02-13 19:38:52 +05:30
sh debian/upstream-file-count-check.sh
rm -rf debian/gitlab/usr/share/gitlab/tmp/*
2016-10-01 15:08:03 +05:30
mv debian/gitlab/var/lib/gitlab/db/schema.rb debian/gitlab/var/lib/gitlab/db/schema.rb.template
2016-02-04 16:22:17 +05:30
override_dh_installinit:
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
dh_installinit --no-start -p gitlab --name=gitlab-unicorn
dh_installinit --no-start -p gitlab --name=gitlab-mailroom
dh_installinit --no-start -p gitlab --name=gitlab-workhorse
dh_installinit
override_dh_systemd_start:
dh_systemd_start --no-start
2017-09-23 21:24:39 +05:30
override_dh_fixperms:
dh_fixperms
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/env_setup.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/gitlab_flow.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/additional_resources.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_success.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/agile_git.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_skipped.svg
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_created.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/unstage.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/explore_gitlab.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/tags.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_failed.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/getting_started.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_warning.svg
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_canceled.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/git_add.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/cherry_picking.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/bisect.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_manual.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/feature_branching.md
chmod -x debian/gitlab/usr/share/gitlab/app/assets/images/favicon-blue.ico
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_running.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/subtree.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/user_training.md
chmod -x debian/gitlab/usr/share/gitlab/app/views/shared/icons/_icon_status_pending.svg
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/index.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/git_intro.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/rollback_commits.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/git_log.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/merge_conflicts.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/gitlab_flow.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/stash.md
chmod -x debian/gitlab/usr/share/gitlab/doc/university/training/topics/merge_requests.md