File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ make_packages_aur() {
591591
592592 # prepare for yay
593593 cp -rf --preserve=mode " ${script_path} /system/aur.sh" " ${airootfs_dir} /root/aur.sh"
594- sed " s|https|http|g; s|^#? \\ s* CacheDir|#CacheDir|g" " ${build_dir} /pacman-${arch} .conf" > " ${airootfs_dir} /etc/alteriso-pacman.conf"
594+ sed " s|^ CacheDir = |#CacheDir = |g" " ${build_dir} /pacman-${arch} .conf" > " ${airootfs_dir} /etc/alteriso-pacman.conf"
595595
596596 # Run aur script
597597 _chroot_run " bash $( [[ " ${bash_debug} " = true ]] && echo -n " -x" ) /root/aur.sh ${_pkglist_aur[*]} "
@@ -613,7 +613,7 @@ make_pkgbuild() {
613613
614614 # -- ビルドスクリプトの実行 --#
615615 cp -rf --preserve=mode " ${script_path} /system/pkgbuild.sh" " ${airootfs_dir} /root/pkgbuild.sh"
616- sed " s|https|http|g; s|^#? \\ s* CacheDir|#CacheDir|g" " ${build_dir} /pacman-${arch} .conf" > " ${airootfs_dir} /etc/alteriso-pacman.conf"
616+ sed " s|^ CacheDir = |#CacheDir = |g" " ${build_dir} /pacman-${arch} .conf" > " ${airootfs_dir} /etc/alteriso-pacman.conf"
617617
618618 # Run build script
619619 _chroot_run " bash $( [[ " ${bash_debug} " = true ]] && echo -n " -x" ) /root/pkgbuild.sh /pkgbuilds"
You can’t perform that action at this time.
0 commit comments