diff options
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 } |