mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 09:56:18 +02:00
Compare commits
2 Commits
c44039365c
...
d146be72a3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d146be72a3 | ||
![]() |
19728506e3 |
@@ -116,6 +116,9 @@ copy_hostconf () {
|
|||||||
cp "$makepkg_conf" "$working_dir/etc/makepkg.conf"
|
cp "$makepkg_conf" "$working_dir/etc/makepkg.conf"
|
||||||
if [[ -d "${makepkg_conf}.d" ]] && is_globfile "${makepkg_conf}.d"/*.conf; then
|
if [[ -d "${makepkg_conf}.d" ]] && is_globfile "${makepkg_conf}.d"/*.conf; then
|
||||||
mkdir --parents "$working_dir/etc/makepkg.conf.d/"
|
mkdir --parents "$working_dir/etc/makepkg.conf.d/"
|
||||||
|
if is_globfile "$working_dir/etc/makepkg.conf.d"/*.conf; then
|
||||||
|
rm --force "$working_dir/etc/makepkg.conf.d"/*.conf
|
||||||
|
fi
|
||||||
cp "${makepkg_conf}.d/"*.conf "$working_dir/etc/makepkg.conf.d/"
|
cp "${makepkg_conf}.d/"*.conf "$working_dir/etc/makepkg.conf.d/"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user