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/e16_theme_settings/e16.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/e16_theme_settings/e16.install')
-rw-r--r-- | abs/core/e16_theme_settings/e16.install | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/abs/core/e16_theme_settings/e16.install b/abs/core/e16_theme_settings/e16.install index 9840e93..0cb1cb9 100644 --- a/abs/core/e16_theme_settings/e16.install +++ b/abs/core/e16_theme_settings/e16.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/e16_config_dir - setfacl -d -R -m u:1000:rwx /data/e16_config_dir - setfacl -R -m u:1000:rwx /data/e16_config_dir - setfacl -d -R -m o::rwx /data/e16_config_dir - setfacl -R -m o::rwx /data/e16_config_dir + chown -R 1000:100 $configdir/e16_config_dir + setfacl -d -R -m u:1000:rwx $configdir/e16_config_dir + setfacl -R -m u:1000:rwx $configdir/e16_config_dir + setfacl -d -R -m o::rwx $configdir/e16_config_dir + setfacl -R -m o::rwx $configdir/e16_config_dir } @@ -26,9 +27,9 @@ pre_upgrade() { # arg 1: the new package version # arg 2: the old package version post_upgrade() { - if [ -e /data/e16_config_dir/cached ] + if [ -e $configdir/e16_config_dir/cached ] then - rm -rf /data/e16_config_dir/cached/* + rm -rf $configdir/e16_config_dir/cached/* fi post_install } |