No dots in script filenames?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
Hi,
Files placed in the scripts directory can no longer have a dot in their names (i.e. no script.sh files in there). This worked in Hardy. Is there a reason for this?
A friend pasted me this patch, but I think it may need more than just the dot in the expression (spacing may be badly messed up):
--- /usr/sbin/
+++ /usr/sbin/
-232,7 +232,7 @@
done
for b in $(cd "${CONFDIR}
- -regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f); do
+ -regextype posix-extended -regex '.*/[[:
[ -d "${DESTDIR}
|| mkdir -p "${DESTDIR}
cp -p "${CONFDIR}
--- /usr/share/
+++ /usr/share/
-110,7 +110,7 @@
# only allow variable name chars
- *[![:alnum:]_]*)
+ *[![:alnum:]_.]*)
Hardy didn't seem to use regular expressions at all.
I think a bug report like LP:78348 that prompted such a change, but I can't see anything specific to this change in the changelog.
description: | updated |
I do not know exactly when this was resolved, but the regexps in question now include ".".