Merge pull request #50 from juergenhoetzel/master

packager_name: Use makepkg.conf settings as default value
This commit is contained in:
helixarch 2020-06-25 14:53:28 +03:00 committed by GitHub
commit c2dd400484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
debtap
View File

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