mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
scripts/makepkg.in: Added fakeroot version to .PKGINFO header.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
parent
54b71f0427
commit
83245aa58e
@ -755,6 +755,9 @@ create_package() {
|
|||||||
# write the .PKGINFO file
|
# write the .PKGINFO file
|
||||||
msg2 "$(gettext "Generating .PKGINFO file...")"
|
msg2 "$(gettext "Generating .PKGINFO file...")"
|
||||||
echo "# Generated by makepkg $myver" >.PKGINFO
|
echo "# Generated by makepkg $myver" >.PKGINFO
|
||||||
|
if [ "$INFAKEROOT" = "1" ]; then
|
||||||
|
echo "# using $(fakeroot -v)" >>.PKGINFO
|
||||||
|
fi
|
||||||
echo "# $(LC_ALL= LANG= date -u)" >>.PKGINFO
|
echo "# $(LC_ALL= LANG= date -u)" >>.PKGINFO
|
||||||
echo "pkgname = $pkgname" >>.PKGINFO
|
echo "pkgname = $pkgname" >>.PKGINFO
|
||||||
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO
|
echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO
|
||||||
|
Loading…
Reference in New Issue
Block a user