Updated to use mainstream file from linuxdeepin original master branch as a template.