gdm: set appropiate perms to /var/lib/gdm/.local at post-install time.
This commit is contained in:
parent
1e53d1449e
commit
632ec066a6
2 changed files with 2 additions and 4 deletions
|
@ -30,8 +30,7 @@ post)
|
||||||
if [ ! -d var/lib/gdm/.local/share/applications ]; then
|
if [ ! -d var/lib/gdm/.local/share/applications ]; then
|
||||||
mkdir -p var/lib/gdm/.local/share/applications
|
mkdir -p var/lib/gdm/.local/share/applications
|
||||||
fi
|
fi
|
||||||
chmod 0755 var/lib/gdm/.local/share/applications
|
chown -R gdm:gdm var/lib/gdm/.local
|
||||||
chown gdm:gdm var/lib/gdm/.local/share/applications
|
|
||||||
|
|
||||||
if [ ! -d var/cache/gdm ]; then
|
if [ ! -d var/cache/gdm ]; then
|
||||||
mkdir -p var/cache/gdm
|
mkdir -p var/cache/gdm
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gdm'
|
# Template file for 'gdm'
|
||||||
pkgname=gdm
|
pkgname=gdm
|
||||||
version=3.12.0
|
version=3.12.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-schemas-compile --disable-static
|
configure_args="--disable-schemas-compile --disable-static
|
||||||
--with-at-spi-registryd-directory=/usr/libexec --without-tcp-wrappers
|
--with-at-spi-registryd-directory=/usr/libexec --without-tcp-wrappers
|
||||||
|
@ -42,7 +42,6 @@ post_install() {
|
||||||
vinstall ${FILESDIR}/gdm.tmpfiles.d 644 usr/lib/tmpfiles.d gdm.conf
|
vinstall ${FILESDIR}/gdm.tmpfiles.d 644 usr/lib/tmpfiles.d gdm.conf
|
||||||
|
|
||||||
chmod 1770 ${DESTDIR}/var/log/gdm
|
chmod 1770 ${DESTDIR}/var/log/gdm
|
||||||
#chmod 700 ${DESTDIR}/var/lib/gdm/.config/dconf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
libgdm_package() {
|
libgdm_package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue