mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
pakfire: Store key material in own directory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
. /etc/sysconfig/rc
|
. /etc/sysconfig/rc
|
||||||
. ${rc_functions}
|
. ${rc_functions}
|
||||||
|
|
||||||
|
export GNUPGHOME="/opt/pakfire/etc/.gnupg"
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
start)
|
start)
|
||||||
boot_mesg "Setting up Pakfire Package Manager..."
|
boot_mesg "Setting up Pakfire Package Manager..."
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
delete @ENV{qw(IFS CDPATH ENV BASH_ENV PATH)};
|
delete @ENV{qw(IFS CDPATH ENV BASH_ENV PATH)};
|
||||||
$< = $>;
|
$< = $>;
|
||||||
|
|
||||||
|
# Store keys here
|
||||||
|
$ENV{"GNUPGHOME"} = "/opt/pakfire/etc/.gnupg";
|
||||||
|
|
||||||
require "/opt/pakfire/lib/functions.pl";
|
require "/opt/pakfire/lib/functions.pl";
|
||||||
|
|
||||||
my $interactive = 1;
|
my $interactive = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user