summaryrefslogtreecommitdiffstats
path: root/abs/core/wmaker_settings
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:40:32 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:40:32 (GMT)
commitf8689644e72d7b4e191f222ef653d83b4306be39 (patch)
tree8e6f3d3fe63c8ccaf9c8b66346677958ffc828fc /abs/core/wmaker_settings
parentad894491177cc6b401ee07dd58ddbfd1226811f9 (diff)
downloadlinhes_pkgbuild-f8689644e72d7b4e191f222ef653d83b4306be39.zip
linhes_pkgbuild-f8689644e72d7b4e191f222ef653d83b4306be39.tar.gz
linhes_pkgbuild-f8689644e72d7b4e191f222ef653d83b4306be39.tar.bz2
moved wmaker_data and e16_themes settings to /usr/share/wm_data.
This was done incase /data moves to it's own partition
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
}