forked from mirrored-repos/manjaro-tools
util-iso-boot: only remove gpgkey if it exists
This commit is contained in:
parent
148330e0c5
commit
a287430ca7
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ prepare_initramfs(){
|
||||||
if [[ -n ${gpgkey} ]]; then
|
if [[ -n ${gpgkey} ]]; then
|
||||||
exec 17<&-
|
exec 17<&-
|
||||||
fi
|
fi
|
||||||
rm ${USERCONFDIR}/gpgkey
|
[[ -f ${USERCONFDIR}/gpgkey ]] && rm ${USERCONFDIR}/gpgkey
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_boot_extras(){
|
prepare_boot_extras(){
|
||||||
|
|
Loading…
Reference in a new issue