packages: initramfs-tools/initramfs-tools-no-backup.patch (NEW) - ignore po...

baggins baggins at pld-linux.org
Thu Jan 21 13:13:33 CET 2010


Author: baggins                      Date: Thu Jan 21 12:13:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ignore possible backup files when building scipts list

---- Files affected:
packages/initramfs-tools:
   initramfs-tools-no-backup.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/initramfs-tools/initramfs-tools-no-backup.patch
diff -u /dev/null packages/initramfs-tools/initramfs-tools-no-backup.patch:1.1
--- /dev/null	Thu Jan 21 13:13:33 2010
+++ packages/initramfs-tools/initramfs-tools-no-backup.patch	Thu Jan 21 13:13:28 2010
@@ -0,0 +1,13 @@
+--- initramfs-tools/scripts/functions~	2010-01-21 00:57:40.099999937 +0100
++++ initramfs-tools/scripts/functions	2010-01-21 12:56:28.405912943 +0100
+@@ -78,6 +78,10 @@
+ 			&& echo "$si_x ignored: not alphanumeric or '_' file"
+ 			continue
+ 			;;
++		*~|*.orig|*.rpmsave|*.rpmnew|*.rpmorig|.dpkg-*)
++			[ "${verbose}" = "y" ] \
++			&& echo "$si_x ignored: backup or other junk"
++			;;
+ 		esac
+ 
+ 		# skip non executable scripts
================================================================


More information about the pld-cvs-commit mailing list