From 4e147c271cbbded8698dae32dec943238fc2474b Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 3 Jul 2013 14:24:57 +0200 Subject: [PATCH] Templates first_run_passed and admin_counted so you can easily empty the cache directory --- createlinks | 2 ++ root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/true | 1 + root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/true | 1 + 3 files changed, 4 insertions(+) create mode 100644 root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/true create mode 100644 root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/true diff --git a/createlinks b/createlinks index a9e1901..b664b3b 100644 --- a/createlinks +++ b/createlinks @@ -15,6 +15,8 @@ safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smit safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/template-end"); safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-begin"); safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/cache/ajaxplorer/diag_result.php/template-end"); +safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/template-begin"); +safe_touch("root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/template-begin"); event_link("ajaxplorer-user-rights", "webapps-update", "85"); event_link("ajaxplorer-user-rights", "share-create", "85"); diff --git a/root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/true b/root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/true new file mode 100644 index 0000000..27ba77d --- /dev/null +++ b/root/etc/e-smith/templates/var/cache/ajaxplorer/admin_counted/true @@ -0,0 +1 @@ +true diff --git a/root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/true b/root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/true new file mode 100644 index 0000000..27ba77d --- /dev/null +++ b/root/etc/e-smith/templates/var/cache/ajaxplorer/first_run_passed/true @@ -0,0 +1 @@ +true