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