1
0
mirror of synced 2026-01-26 19:51:56 +00:00

2006-03-20 17:51:10 by radu

Ignore hooks that end with .dpkg-new,.dpkg-old and ~
This commit is contained in:
radu
2006-03-20 17:51:10 +00:00
parent c45a6eba1f
commit 5cf3b0021e

View File

@@ -402,7 +402,7 @@ Install an X11 server, using VNC and XDM
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.106 2006-03-11 21:37:04 steve Exp $
$Id: xen-create-image,v 1.107 2006-03-20 17:51:10 radu Exp $
=cut
@@ -1007,7 +1007,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.106 $';
my $REVISION = '$Revision: 1.107 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@@ -1467,6 +1467,10 @@ sub runHooks
#
foreach my $file ( sort( glob( $HOOK_DIR . "*" ) ) )
{
# skip files that end with .dpkg-new, .dpkg-old or '~'
next if ( $file =~ /\.dpkg-(new|old)/ );
next if ( $file =~ /~$/ );
#
# Only run executable files.
#