Compare commits
No commits in common. "59f0b69b203099ed62ebeee4942d830cde3fa438" and "34920ecfb181d4b556d827eb214fb34d3b971fa6" have entirely different histories.
59f0b69b20
...
34920ecfb1
|
@ -20,15 +20,7 @@ function is_readable_file {
|
|||
|
||||
if is_readable_file "$pkgbuild_path" &&
|
||||
! is_readable_file "$pkgbuild_copy_path";then
|
||||
eval $(grep -Pazo '[^[:print:]][[:blank:]]*_?(pkg.*|name)=(\((.|\n)*?\)|[^#]*?(?= *#|\x0a))' ./PKGBUILD | grep -Eva '\$\(|`|pkgdesc')
|
||||
if [[ -n "${pkgname:-''}" ]];then
|
||||
global_conf_path="${GLOBAL_CONF_DIR_PATH}/${pkgname}"
|
||||
user_conf_path="${USER_CONF_DIR_PATH}/${pkgname}"
|
||||
if is_readable_file "$global_conf_path" ||
|
||||
is_readable_file "$user_conf_path";then
|
||||
customizepkg --modify
|
||||
fi
|
||||
fi
|
||||
customizepkg --modify
|
||||
fi
|
||||
|
||||
exec /usr/bin/makepkg ${@}
|
||||
|
|
Loading…
Reference in New Issue