diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-31 00:40:32 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-31 00:40:32 (GMT) |
commit | f8689644e72d7b4e191f222ef653d83b4306be39 (patch) | |
tree | 8e6f3d3fe63c8ccaf9c8b66346677958ffc828fc /abs/core/wmaker_settings/wmaker_settings.install | |
parent | ad894491177cc6b401ee07dd58ddbfd1226811f9 (diff) | |
download | linhes_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/wmaker_settings.install')
-rw-r--r-- | abs/core/wmaker_settings/wmaker_settings.install | 11 |
1 files changed, 6 insertions, 5 deletions
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 } |