[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) copyrightmaster
parent
373539425e
commit
b3aca1d825
|
@ -2,13 +2,14 @@ Source: odoo
|
|||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Odoo S.A. <info@odoo.com>
|
||||
Uploaders: Aaron Bohy <aab@odoo.com>, Simon Lejeune <sle@odoo.com>
|
||||
Build-Depends: debhelper (>= 9.0), python, rsync
|
||||
X-Python-Version: 2.7
|
||||
Standards-Version: 3.9.5.0
|
||||
Homepage: http://www.odoo.com/
|
||||
Vcs-Git: https://github.com/odoo/odoo
|
||||
|
||||
Package: odoo
|
||||
Section: net
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Contact: Odoo <info@odoo.com>
|
||||
Upstream-Homepage: http://www.odoo.com/
|
||||
Maintainer-Contact: Debian Odoo Maintainers <gnunet@lists.debian-maintainers.org>
|
||||
Maintainer-Homepage: http://www.odoo.com/
|
||||
|
||||
Files: *
|
||||
Copyright: (C) 2004-2014 OpenERP SA. (www.openerp.com)
|
||||
Copyright: (C) 2004-2015 Odoo SA. (www.odoo.com)
|
||||
License: AGPL-3+
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
#!/bin/bash
|
||||
### BEGIN INIT INFO
|
||||
# Provides: openerp-server
|
||||
# Provides: odoo.py
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start openerp daemon at boot time
|
||||
# Short-Description: Start odoo daemon at boot time
|
||||
# Description: Enable service provided by daemon.
|
||||
# X-Interactive: true
|
||||
### END INIT INFO
|
||||
## more info: http://wiki.debian.org/LSBInitScripts
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
|
||||
DAEMON=/usr/bin/openerp-server
|
||||
DAEMON=/usr/bin/odoo.py
|
||||
NAME=odoo
|
||||
DESC=odoo
|
||||
CONFIG=/etc/odoo/openerp-server.conf
|
||||
|
|
Loading…
Reference in New Issue