forked from mirrored-repos/manjaro-tools
Improve code
Signed-off-by: Stefano Capitani <stefano@manjaro.org>
This commit is contained in:
parent
7ef53f1daf
commit
4bdb473250
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ make_iso() {
|
|||
touch "${iso_root}/.miso"
|
||||
for sfs_dir in $(find "${work_dir}" -maxdepth 1 -type d); do
|
||||
if [[ "${sfs_dir}" != "${work_dir}" ]]; then
|
||||
root_fs=$(echo "${sfs_dir}" | rev | cut -d'/' -f 1 | rev)
|
||||
if [[ "${root_fs}" == "rootfs" ]]; then
|
||||
if [[ "$(basename "${sfs_dir}")" == "rootfs" ]]; then
|
||||
rm -rf "${sfs_dir}"/etc/pacman.d/gnupg
|
||||
fi
|
||||
make_sfs "${sfs_dir}"
|
||||
|
|
Loading…
Reference in a new issue