Add priority as comment in header for debian #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
phpenmod
script use this comment... When php modules are upgraded via the package manager, it run this script and reenable script which look like not present for the system...=== Example with mysqlnd ===
Debian create in with priority 10 when installing so it is linked as
/etc/php5/cli/conf.d/10-mysqlnd.ini -> ../../mods-available/mysqlnd.ini
Then php puppet module replace mysqlnd.ini without the comment.
(; priority=10)
When a package upgrade pass on debian 8, it goes:
/usr/share/php5/php5-helper
So default to priority=20
/usr/sbin/php5enmod
And create another
/etc/php5/cli/conf.d/20-mysqlnd.ini -> ../../mods-available/mysqlnd.ini
So in the end, we have both and result in lots of warnings and errors: