Commit Graph

22 Commits

Author SHA1 Message Date
Romain Dartigues 3f69895046 WIP: support Linux Mint and LMDE
Without this patch, Linux Mint and LMDE are detected as "debian" which,
somehow, does work, but do not take in consideration those distributions
specifics (such as mirror, upstream version, etc.).

This is flagged WIP as long as I do not run the tests on LMDE.
2021-12-27 14:41:37 +01:00
Nico Schottelius ec935353d7 [__start_on_boot] Merge alpine and gentoo, update gentoo 2019-04-15 17:02:09 +02:00
Nico Schottelius 707426d1f0 [__start_on_boot] add code for alpine handling, fix explorer 2019-04-15 16:35:10 +02:00
Daniel Néri 15ab7c0810 Implement "__start_on_boot --state absent" for OpenBSD 2019-03-16 17:23:19 +01:00
sideeffect42 a34060d703 Improve OpenBSD support (#720)
* [type/__timezone] Whitelist OpenBSD

OpenBSD ships /etc/localtime and /usr/share/zoneinfo by default.

* [type/__postgres_{database,role}] Add explorer support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified as it differs from the
user name.

* [type/__postgres_{database,role}] Add gencode support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified when using psql as it
differs from the user name.

* [type/__postgres_role] Query DB if role exists instead of screen scaping

* [type/__postgres_database] Query DB if database exists instead

* [type/__postgres_{database,role}] Add user for NetBSD

* [type/__postgres_extension] Add support for OpenBSD and NetBSD

* [__ssh_authorized_key] Add OpenBSD support to entry explorer

Make sure to adhere to re_format(7) for OpenBSD compatibility.

https://man.openbsd.org/re_format.7

* [type/__start_on_boot] Add support for OpenBSD
2018-11-03 19:17:56 +01:00
Jonas Weber 53728a7ff0 Change backslash-dquote to single quote
Slightly breaking change, but improves security and readability.
2018-10-04 19:45:26 +02:00
Jonas Weber ae7ccc5995 Fix SC2086 on all scripts
Relevant documentation: https://github.com/koalaman/shellcheck/wiki/SC2086

relates to: #540

This commit addresses 241 separate cases of missing quotes around
variables.
2018-10-04 19:45:22 +02:00
kamila b695e82bec FreeBSD improvements (#651) 2018-03-26 08:53:31 +02:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
Darko Poljak 9312bcb6b0 chmod +x *manifest *gencode-* 2017-06-28 12:52:10 +02:00
Nico Schottelius 91ff80fa6a Add devuan support for __start_on_boot 2017-06-03 18:15:44 +02:00
kamila 46bbafa509 __start_on_boot: add support for devuan 2017-03-22 12:33:16 +01:00
Stephan Leemburg 9300eda3c6 Add scientific 2016-06-22 13:32:51 +02:00
Nico Schottelius b12df5f125 Merge pull request #428 from dheule/bugfix_for_systemd
remove a copy paste artefact which is wrong there
2016-04-06 15:47:09 +02:00
Daniel Heule ac171ba219 remove a copy paste artefact which is wrong there 2016-04-06 17:29:23 +02:00
Darko Poljak f55d00fe96 checkbashisms 2016-03-30 12:43:59 +02:00
Daniel Heule 14f3ee403a fix fo __start_on_boot for ALL systemd distros 2016-03-23 16:34:57 +01:00
Nico Schottelius 28c534445b add Debian 8 support / systemd in __start_on_boot
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-12 01:13:20 +02:00
Daniel Heule d6f84d1ef0 __start_on_boot incl. gentoo support 2013-12-19 13:54:16 +01:00
Nico Schottelius 122fb96654 use default parameter for __start_on_boot type
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-18 18:09:57 +01:00
Nico Schottelius 2acce10497 change __start_on_boot to use systemd on archlinux
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-09 23:45:22 +02:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00