This commit is contained in:
Patrick Schleizer 2019-12-20 03:11:11 -05:00
parent d64cdc1247
commit bfee6b60cb
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -109,7 +109,8 @@ set_file_perms() {
fi fi
fi fi
## The permissions should not be reset during upgrades. ## Use dpkg-statoverride so permissions are not reset during upgrades.
if dpkg-statoverride --list | grep -q "${fso%/}"; then if dpkg-statoverride --list | grep -q "${fso%/}"; then
## If there is an entry for the fso, but the owner/group/mode do not ## If there is an entry for the fso, but the owner/group/mode do not
## match, we remove and re-add the entry to update it. ## match, we remove and re-add the entry to update it.