diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-06-05 13:41:34 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-06-05 13:41:34 +0000 |
commit | 4484a2d7f2e04abd7449f45b64da7d2ce300b44d (patch) | |
tree | a66cd0d23680b18ced926dd731c0677217c7cc7e /dev-lang | |
parent | Stable on ppc. (diff) | |
download | historical-4484a2d7f2e04abd7449f45b64da7d2ce300b44d.tar.gz historical-4484a2d7f2e04abd7449f45b64da7d2ce300b44d.tar.bz2 historical-4484a2d7f2e04abd7449f45b64da7d2ce300b44d.zip |
Bug 90502 - don't leave behind empty log files if nothing has been done
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/perl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/perl/Manifest | 10 | ||||
-rwxr-xr-x | dev-lang/perl/files/perl-cleaner | 12 |
3 files changed, 18 insertions, 9 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog index 3f4b16fea6b7..2e7541cb74de 100644 --- a/dev-lang/perl/ChangeLog +++ b/dev-lang/perl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/perl # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.131 2005/05/30 13:41:04 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.132 2005/06/05 13:41:34 mcummings Exp $ + + 05 Jun 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner: + Bug 90502 - don't leave behind empty log files if nothing has been done 30 May 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner, perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest index 1465e4c2e2b9..281ae236a496 100644 --- a/dev-lang/perl/Manifest +++ b/dev-lang/perl/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c4c373d2579f3dc2ca3292256b018b07 ChangeLog 38132 +MD5 cd4f8dd2b7dd785a4748697d83f316e4 ChangeLog 38282 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 MD5 389056a5cf253d17388307cc4cad6c8b perl-5.8.2-r4.ebuild 11306 MD5 38510f237c4c3477731b5c4ffe2bfe61 perl-5.8.4-r4.ebuild 13450 @@ -24,7 +24,7 @@ MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.2-prelink-lpthread.patch 476 MD5 ce442db939c59218a16be167f793b817 files/perl-5.8.2-uclibc.patch 573 MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.4-nonblock.patch 400 MD5 076dcbef37263d6dd7af719b55cfc2de files/perl-5.8.4-noksh.patch 611 -MD5 29f5bb46e077f7ef9481455fa8a04dfc files/perl-cleaner 8787 +MD5 c2612d59f380ad6e0c2de4d941e83dfd files/perl-cleaner 8879 MD5 0a28eb41f5f12ed54f025004af45c83d files/perl-5.8.4-perldoc-emptydirs.patch 489 MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.4-picdl.patch 250 MD5 4e99f7529e149661372283c981cf17ff files/perl-5.8.4-prelink-lpthread.patch 476 @@ -46,7 +46,7 @@ MD5 803b7c028f59008ea1e6d577e5c0bab0 files/stat.t 8884 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCmxfUtG5z4I8BtQoRAhCHAJ4zRB9ZpVh71x0pL+1RMFZ8ipTtGwCeIov3 -N6KgyDbiXqQuf5LykYIyeDA= -=r2wf +iD8DBQFCowCNtG5z4I8BtQoRAkvLAJ4yuTPFnOfLphFbZJfPiSMJLb41ggCfVweu +NyQg3mCBiiD3nRAsTvfx3Sw= +=6nJG -----END PGP SIGNATURE----- diff --git a/dev-lang/perl/files/perl-cleaner b/dev-lang/perl/files/perl-cleaner index 5831c5e02424..abdc4783872c 100755 --- a/dev-lang/perl/files/perl-cleaner +++ b/dev-lang/perl/files/perl-cleaner @@ -46,9 +46,15 @@ function postclean { done - echo - echo "For a complete log, please read $LOG" - echo + if [ -s $LOG ]; then + echo + echo "For a complete log, please read $LOG" + echo + else + if [ -f $LOG ]; then + rm -f $LOG + fi + fi } # This is to clean out the old .ph files generated in our last perl install |