summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.in
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-06-13 00:30:56 +0200
committerAndrew Fyfe <andrew@neptune-one.net>2007-06-13 00:30:56 +0200
commit83245aa58ef1eefcc3498a82923e55bc799ca361 (patch)
tree350e5d38503313857be0ac4abc68026e86b20116 /scripts/makepkg.in
parent54b71f0427e87e6d525423df06f8a06f2b71c518 (diff)
downloadpacman-83245aa58ef1eefcc3498a82923e55bc799ca361.tar.gz
pacman-83245aa58ef1eefcc3498a82923e55bc799ca361.tar.xz
scripts/makepkg.in: Added fakeroot version to .PKGINFO header.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts/makepkg.in')
-rw-r--r--scripts/makepkg.in3
1 files changed, 3 insertions, 0 deletions
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