diff options
Diffstat (limited to 'abs/core/e16_theme_settings/e16.install')
-rw-r--r-- | abs/core/e16_theme_settings/e16.install | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/core/e16_theme_settings/e16.install b/abs/core/e16_theme_settings/e16.install new file mode 100644 index 0000000..61fed63 --- /dev/null +++ b/abs/core/e16_theme_settings/e16.install @@ -0,0 +1,44 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + + +# 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 + +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + pre_install +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* |