]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 16 Jun 2020 21:58:03 +0000 (21:58 +0000)
commitf5f0307e41c9c869eaff8a7082c7f5031e494426
tree66b714471e547356e7bdc3dfaa8804e15a59806c
parentd1f60037b9d390c4d91bee61b06b7dfda368f3c1
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>
(cherry picked from commit e5ffbb4dd4c3b616f715b74a9091e73e48ff0715)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/scripts/koha-shell