#Maintainer: George Vlahavas pkgname=zzz-settings-mate pkgver=14.1 pkgrel=2gv arch=noarch options=('noextract') doinst() { if [ -f etc/gdm/custom.conf ]; then sed -i "s/\[daemon\]/[daemon]\n\nDefaultSession=mate.desktop/" etc/gdm/custom.conf fi # for some reason all terminal apps that are launched through the menu # are looking for xterm. No idea where this is set, so this is a # workaround if [ -f usr/bin/mate-terminal ]; then ( cd usr/bin ln -sf mate-terminal xterm ) fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "zzz-settings-mate (provides system wide fixes for MATE)" "This package provides fixes for some packages and default settings for" "others. It can safely be removed after installation, but it should" "never be installed or upgraded by the user, or it might change some" "default system settings." ) build() { chown -R root:root $startdir/pkg }