]> git.koha-community.org Git - koha.git/commit
Bug 25538: Use sudo -i in koha-shell
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 10 Jun 2020 09:17:34 +0000 (11:17 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Jun 2020 16:00:32 +0000 (18:00 +0200)
commite5ffbb4dd4c3b616f715b74a9091e73e48ff0715
tree4f14a83ce8615715d4ebb50ce2d59ed1fad7e39f
parent7c4d2444057dd2f8ae613ad73328f880258810c7
Bug 25538: Use sudo -i in koha-shell

See man sudo, -i parameter.
Should we expect regressions?

Test plan:
0. Use D11 or U18.
Don't apply this patch
1.
$ echo $KOHA_INTRANET_URL
$ sudo koha-shell kohadev
$ echo $KOHA_INTRANET_URL
2. Apply this patch
$ cp debian/scripts/koha-shell /usr/sbin/koha-shell
3. Repeat 1.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/scripts/koha-shell