From 83245aa58ef1eefcc3498a82923e55bc799ca361 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Tue, 12 Jun 2007 23:30:56 +0100 Subject: scripts/makepkg.in: Added fakeroot version to .PKGINFO header. Signed-off-by: Andrew Fyfe --- scripts/makepkg.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/makepkg.in b/scripts/makepkg.in index b06a5bec..cdd266ab 100644 --- a/scripts/makepkg.in +++ b/scripts/makepkg.in @@ -755,6 +755,9 @@ create_package() { # write the .PKGINFO file msg2 "$(gettext "Generating .PKGINFO file...")" echo "# Generated by makepkg $myver" >.PKGINFO + if [ "$INFAKEROOT" = "1" ]; then + echo "# using $(fakeroot -v)" >>.PKGINFO + fi echo "# $(LC_ALL= LANG= date -u)" >>.PKGINFO echo "pkgname = $pkgname" >>.PKGINFO echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO -- cgit v1.2.3-70-g09d2