packager_name: Use makepkg.conf settings as default value

This commit is contained in:
Juergen Hoetzel 2020-06-04 21:16:52 +02:00
parent 9938f2b945
commit e3f16487f1

4
debtap
View File

@ -440,8 +440,10 @@ echo "builddate = `date -u "+%s"`" >> .PKGINFO
if [[ $quiet == set ]] || [[ $Quiet == set ]]; then if [[ $quiet == set ]] || [[ $Quiet == set ]]; then
echo "packager = Unknown Packager" >> .PKGINFO echo "packager = Unknown Packager" >> .PKGINFO
else else
source /usr/share/makepkg/util/config.sh
load_makepkg_config
echo -e "\n${lightblue}::${NC} Enter Packager name:" echo -e "\n${lightblue}::${NC} Enter Packager name:"
read packager_name read -e -i "${PACKAGER}" packager_name
echo "packager = $packager_name" >> .PKGINFO echo "packager = $packager_name" >> .PKGINFO
fi fi