From 009f7d25c3267a2d963e833e6fc1df1ee7993300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 1 May 2023 13:35:00 +0200 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 520e90f..edcf1c8 100755 --- a/scripts/install +++ b/scripts/install @@ -33,12 +33,12 @@ ynh_add_nginx_config #================================================= # CREATE DATA DIRECTORY #================================================= -#ynh_script_progression --message="Creating a data directory..." --weight=1 +ynh_script_progression --message="Creating a data directory..." --weight=1 -#pushd $data_dir -# ynh_exec_as $app curl -LO http://download.kiwix.org/zim/wikipedia/wikipedia_en_computer_maxi_2022-02.zim > /dev/null -#popd -#ynh_exec_as $app $install_dir/kiwix-manage $data_dir/library.xml add $data_dir/*.zim +pushd $data_dir + ynh_exec_as $app curl -LO http://download.kiwix.org/zim/wikipedia/wikipedia_fr_test_2023-04.zim > /dev/null +popd +ynh_exec_as $app $install_dir/kiwix-manage $data_dir/library.xml add $data_dir/*.zim #================================================= # SETUP SYSTEMD