[Fai-commit] r6295 - trunk/bin
Michael Prokop
mika at alioth.debian.org
Tue Feb 15 11:07:15 UTC 2011
Author: mika
Date: 2011-02-15 11:07:01 +0000 (Tue, 15 Feb 2011)
New Revision: 6295
Modified:
trunk/bin/fai-do-scripts
Log:
bin/fai-do-scripts: also ignore files with suffix .dpkg-dist and .dpkg-tmp
We definitely do not want to execute such files in
do_script() of fai-do-scripts, so let's skip them
as well.
Verified against lib/dpkg/dpkg.h of dpkg v1.15.8.10.
Modified: trunk/bin/fai-do-scripts
===================================================================
--- trunk/bin/fai-do-scripts 2011-02-12 23:28:41 UTC (rev 6294)
+++ trunk/bin/fai-do-scripts 2011-02-15 11:07:01 UTC (rev 6295)
@@ -87,6 +87,8 @@
*.dpkg-old) [ X$debug = X1 ] && echo "Skipping file $file"; return ;;
*.dpkg-new) [ X$debug = X1 ] && echo "Skipping file $file"; return ;;
*.dpkg-inst) [ X$debug = X1 ] && echo "Skipping file $file"; return ;;
+ *.dpkg-tmp) [ X$debug = X1 ] && echo "Skipping file $file"; return ;;
+ *.dpkg-dist) [ X$debug = X1 ] && echo "Skipping file $file"; return ;;
esac
name=${file##*/} # basename function
More information about the Fai-commit
mailing list