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