Merge pull request #3028 from haslinghuis/fix-deb-permissions

Fix permissions in debian package
10.9-maintenance
haslinghuis 2022-10-04 03:15:51 +02:00 committed by GitHub
commit b61ec42b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 root:root ${LINUX_INSTALL_DIR}`,
`chown -R root:root ${LINUX_INSTALL_DIR}/${metadata.name}`, `chown -R root:root ${LINUX_INSTALL_DIR}/${metadata.name}`,
`xdg-desktop-menu install ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}.desktop`, `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`], prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`],
depends: ['libgconf-2-4', 'libatomic1'], depends: ['libgconf-2-4', 'libatomic1'],