Skip to content

Commit b3aca1d

Browse files
committed
[FIX] Packaging: Debian: lintian errors and warnings
- control: - duplicated Section entry removed - X-Python-Version added - Uploaders added - init: - set odoo.py as deamon instead of openerp-server - source /lib/lsb/init-functions to fix Debian lintian warning init.d-script-does-not-source-init-functions - copyright: machine-readable (dep5) copyright
1 parent 3735394 commit b3aca1d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

debian/control

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ Source: odoo
22
Section: net
33
Priority: optional
44
Maintainer: Odoo S.A. <[email protected]>
5+
Uploaders: Aaron Bohy <[email protected]>, Simon Lejeune <[email protected]>
56
Build-Depends: debhelper (>= 9.0), python, rsync
7+
X-Python-Version: 2.7
68
Standards-Version: 3.9.5.0
79
Homepage: http://www.odoo.com/
810
Vcs-Git: https://github.com/odoo/odoo
911

1012
Package: odoo
11-
Section: net
1213
Architecture: all
1314
Depends:
1415
${misc:Depends},

debian/copyright

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
12
Upstream-Contact: Odoo <[email protected]>
2-
Upstream-Homepage: http://www.odoo.com/
3-
Maintainer-Contact: Debian Odoo Maintainers <[email protected]>
4-
Maintainer-Homepage: http://www.odoo.com/
53

64
Files: *
7-
Copyright: (C) 2004-2014 OpenERP SA. (www.openerp.com)
5+
Copyright: (C) 2004-2015 Odoo SA. (www.odoo.com)
86
License: AGPL-3+
97
This program is free software: you can redistribute it and/or modify
108
it under the terms of the GNU Affero General Public License as published by

debian/init

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
#!/bin/bash
22
### BEGIN INIT INFO
3-
# Provides: openerp-server
3+
# Provides: odoo.py
44
# Required-Start: $remote_fs $syslog
55
# Required-Stop: $remote_fs $syslog
66
# Default-Start: 2 3 4 5
77
# Default-Stop: 0 1 6
8-
# Short-Description: Start openerp daemon at boot time
8+
# Short-Description: Start odoo daemon at boot time
99
# Description: Enable service provided by daemon.
1010
# X-Interactive: true
1111
### END INIT INFO
1212
## more info: http://wiki.debian.org/LSBInitScripts
1313

14+
. /lib/lsb/init-functions
15+
1416
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
15-
DAEMON=/usr/bin/openerp-server
17+
DAEMON=/usr/bin/odoo.py
1618
NAME=odoo
1719
DESC=odoo
1820
CONFIG=/etc/odoo/openerp-server.conf

0 commit comments

Comments
 (0)