[Bug 1273225] Re: php5enmod - priority is not set by argument
Goran Miskovic
schkovich at gmail.com
Fri Apr 24 09:49:29 UTC 2015
Ondrej, what is reasoning behind mandatory space before priority???
Why it can't be:
;priority=30
but it has to be
; priority=30
A bit of flexibility would be appreciated. :)
Following regex will match both ;priority=30 and ; priority=30
priority=$(sed -ne "s/^;[ ]\?priority=\([0-9]\+\)$/\\1/p" $source_ini)
The problem I actually faced is that Augeas PHP lens does not allow
space(s) at the beginning of comments. In combination with mandatory
space after semicolon it makes use of automation tools such as Puppet
impossible.
** Patch added: "Has regex that will match a signle space or no space between semicolon and word priority in the second comment"
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1273225/+attachment/4382803/+files/php5-helper.patch
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1273225
Title:
php5enmod - priority is not set by argument
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1273225/+subscriptions
More information about the Ubuntu-server-bugs
mailing list