summaryrefslogtreecommitdiffstats
path: root/abs/core/wmaker_settings
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/wmaker_settings')
-rw-r--r--abs/core/wmaker_settings/PKGBUILD4
-rw-r--r--abs/core/wmaker_settings/wmaker_settings.install11
2 files changed, 8 insertions, 7 deletions
diff --git a/abs/core/wmaker_settings/PKGBUILD b/abs/core/wmaker_settings/PKGBUILD
index 2ae7d92..0565676 100644
--- a/abs/core/wmaker_settings/PKGBUILD
+++ b/abs/core/wmaker_settings/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=wmaker_settings
pkgver=1.0
-pkgrel=11
+pkgrel=12
pkgdesc="Default settings for windowmaker+ theme"
depends=('windowmaker' 'linhes-scripts>=7-24')
source=()
arch=('i686' 'x86_64')
groups=(alt_wm)
install=wmaker_settings.install
-configdir=/data/
+configdir=/usr/share/wm_data
build() {
echo $startdir
mkdir -p $pkgdir/$configdir
diff --git a/abs/core/wmaker_settings/wmaker_settings.install b/abs/core/wmaker_settings/wmaker_settings.install
index 3418844..54fb477 100644
--- a/abs/core/wmaker_settings/wmaker_settings.install
+++ b/abs/core/wmaker_settings/wmaker_settings.install
@@ -1,5 +1,6 @@
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
+configdir=/usr/share/wm_data
# arg 1: the new package version
pre_install() {
@@ -9,11 +10,11 @@ pre_install() {
# arg 1: the new package version
post_install() {
- chown -R 1000:100 /data/GNUstep
- setfacl -d -R -m u:1000:rwx /data/GNUstep
- setfacl -R -m u:1000:rwx /data/GNUstep
- setfacl -d -R -m o::rwx /data/GNUstep
- setfacl -R -m o::rwx /data/GNUstep
+ chown -R 1000:100 $configdir/GNUstep
+ setfacl -d -R -m u:1000:rwx $configdir/GNUstep
+ setfacl -R -m u:1000:rwx $configdir/GNUstep
+ setfacl -d -R -m o::rwx $configdir/GNUstep
+ setfacl -R -m o::rwx $configdir/GNUstep
}