debian-mirror-gitlab/debian/patches/tweaks/0020-fix-mail-room-path.patch

13 lines
391 B
Diff
Raw Normal View History

2020-04-13 13:49:04 +05:30
require_relative does not work with debian package layout
2017-09-17 22:13:29 +05:30
--- a/config/mail_room.yml
+++ b/config/mail_room.yml
@@ -1,6 +1,6 @@
:mailboxes:
<%
- require_relative "../lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom)
+ require "/usr/share/gitlab/lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom)
2022-05-07 22:13:53 +05:30
Gitlab::MailRoom.enabled_configs.each do |key, config|
2020-03-12 18:50:15 +05:30
%>
-