Purge pacman-key from Iso

Signed-off-by: Stefano Capitani <stefano@manjaro.org>
This commit is contained in:
Stefano Capitani 2021-05-17 23:19:47 +02:00
parent 8b38859828
commit 511f4f2fcb
2 changed files with 2 additions and 2 deletions

View file

@ -487,6 +487,4 @@ clean_up_image(){
if [[ -f "$file" ]]; then
rm $file
fi
path=$1/etc/pacman.d
rm -R $path/gnupg
}

View file

@ -195,6 +195,8 @@ assemble_iso(){
# Build ISO
make_iso() {
msg "Start [Build ISO]"
msg2 "Remove gnugp"
find . -type d -name '*gnupg' -exec rm -r {} +
touch "${iso_root}/.miso"
for sfs_dir in $(find "${work_dir}" -maxdepth 1 -type d); do
if [[ "${sfs_dir}" != "${work_dir}" ]]; then