aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-db.postinst
Commit message (Collapse)AuthorAgeFiles
* Enable debhelper automatic generation of shell codeDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | The maintainer scripts have been modified with the addition of `#DEBHELPER#`. This enables dh_installdeb to automatically generate shell code on maintainer scripts. The following Lintian warnings have been addressed: * boca source: maintainer-script-lacks-debhelper-token [debian/boca-autojudge.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-common.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-db.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-submission-tools.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-web.postinst]
* Abort maintainer scripts on failureDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | The `set -e` flag has been enabled in the maintainer scripts. This fixes the Lintian warnings: * boca-autojudge: maintainer-script-ignores-errors [postinst] * boca-submission-tools: maintainer-script-ignores-errors [postinst] * boca-web: maintainer-script-ignores-errors [postinst] The packages boca-common and boca-db were altered to set the flag as early as possible in their maintainer scripts.
* d/boca-db.postinst: Remove chmod for boca-dumpBruno Ribas2020-11-051
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* chmods in the postinstcassio2018-08-291
|
* d/boca-{common,db}.postinst: Avoid asking same question on upgradeBruno Cesar Ribas2018-08-241
| | | | | | | From now on the user must remove lines containing 'bdserver' or 'bdcreated in /etc/boca.conf in order to modify the DB password and the DB hostname. Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
* d/boca-db.{postinst,templates}: New postinstBruno Cesar Ribas2018-08-231
This postinst will prompt the user for a DB password and will configure postgresql accordingly Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>