Fix permissions in debian package

10.9-maintenance
Mark Haslinghuis 2022-09-28 18:51:35 +02:00
parent 4b20d5b88d
commit c2f0371119
1 changed files with 3 additions and 0 deletions

View File

@ -737,6 +737,9 @@ function release_deb(arch, appDirectory, done) {
`chown root:root ${LINUX_INSTALL_DIR}`,
`chown -R root:root ${LINUX_INSTALL_DIR}/${metadata.name}`,
`xdg-desktop-menu install ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}.desktop`,
`chmod +xr ${LINUX_INSTALL_DIR}/${metadata.name}/chrome_crashpad_handler`,
`chmod +xr ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}`,
`chmod -R +Xr ${LINUX_INSTALL_DIR}/${metadata.name}/`,
],
prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`],
depends: ['libgconf-2-4', 'libatomic1'],