mint-adjust.py should only add non null entries to array_preserves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
DISTRIB_
DISTRIB_
Package: mintsystem
Maintainer: Clement Lefebvre <email address hidden>
Architecture: all
Version: 8.1.6
Filename: pool/main/
mint-adjust.py creates an arry of filename "preserves" which are files not to be subjected to mint-update overwrites.
if extension == ".preserve":
for line in filehandle:
If the line is blank, because the preserve file contains a trailing blank line just like all the overwrite files do, then a null string is inserted into the array. This can result in numerous null entries in the preserves array which is not a good thing, so a test should be done that the entry is non-null before insertion.
for line in filehandle:
Changed in linuxmint: | |
status: | New → Fix Released |