1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-04-04 07:43:22 -04:00

Copies the changelog over if it doesn't already exist.

This commit is contained in:
freesource 2001-09-15 06:06:53 +00:00
parent 3713b068ce
commit 76da1361cb

View File

@ -136,6 +136,11 @@ system "dh_make -e $email";
# Here we ask the user what changes to add to the changelog and set the proper # Here we ask the user what changes to add to the changelog and set the proper
# time using 822-date. If it is the initial release we don't do anything. # time using 822-date. If it is the initial release we don't do anything.
if ( !-e "$packaging_defaults/changelog" ) {
system
"cp -a $packaging_place/debian/changelog $packaging_defaults";
}
open(CHANGELOG,"$packaging_defaults/changelog") open(CHANGELOG,"$packaging_defaults/changelog")
or die "Couldn't open $packaging_place/changelog: $!\n"; or die "Couldn't open $packaging_place/changelog: $!\n";
my @changelog = <CHANGELOG>; my @changelog = <CHANGELOG>;