]> 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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 16 Jun 2020 23:21:43 +0000 (11:21 +1200)
commitc3d6d776318e25a6d304f0f1f9d27e22cf245e6b
tree79b16d467e1e35a8c648c1ae0f32cf91ec5c5aac
parent27831fe44293b9503da082739c16dd31f5de87db
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>
(cherry picked from commit f5f0307e41c9c869eaff8a7082c7f5031e494426)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
debian/scripts/koha-shell