diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-06-12 23:30:56 +0100 |
---|---|---|
committer | Andrew Fyfe <andrew@neptune-one.net> | 2007-06-12 23:30:56 +0100 |
commit | 83245aa58ef1eefcc3498a82923e55bc799ca361 (patch) | |
tree | 350e5d38503313857be0ac4abc68026e86b20116 /scripts | |
parent | 54b71f0427e87e6d525423df06f8a06f2b71c518 (diff) |
scripts/makepkg.in: Added fakeroot version to .PKGINFO header.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.in | 3 |
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 |