1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00

Move filelist creation ABOVE the other metafiles to keep them out of the list

This commit is contained in:
Aaron Griffin 2007-02-01 01:59:26 +00:00
parent 4cd65c0a31
commit 010f35f299

View File

@ -861,6 +861,11 @@ else
fi
size=$(du -cb $startdir/pkg | tail -n 1 | awk '{print $1}')
# build a filelist - do this first to keep meta files out of the list
msg "Generating .FILELIST file..."
cd "$startdir/pkg"
tar cvf /dev/null * | sort >.FILELIST
# write the .PKGINFO file
msg "Generating .PKGINFO file..."
cd $startdir/pkg
@ -914,11 +919,6 @@ if [ -f "$startdir/ChangeLog" ]; then
have_changelog=1
fi
# build a filelist
msg "Generating .FILELIST file..."
cd "$startdir/pkg"
tar cvf /dev/null * | sort >.FILELIST
# tar it up
msg "Compressing package..."
cd "$startdir/pkg"