mirror of
https://github.com/YunoHost-Apps/omeka-s_ynh.git
synced 2024-09-03 19:56:05 +02:00
add scripto
This commit is contained in:
parent
09eb098be3
commit
4f742ad5b8
3 changed files with 9 additions and 1 deletions
|
@ -58,6 +58,12 @@ ram.runtime = "50M"
|
|||
sha256 = "95aa91802ef497f6fb33e7bf1d129b041dc11ce1dc2eca4a6790a29becd592ad"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.sources.scripto]
|
||||
in_subdir = false
|
||||
url = "https://github.com/omeka-s-modules/Scripto/releases/download/v1.4.1/Scripto-1.4.1.zip"
|
||||
sha256 = "61afa64f667cd89cd25ca6c7223073191a2222b0af0910108f456ffcb730a1d4"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
[resources.install_dir]
|
||||
|
|
|
@ -32,6 +32,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport"
|
||||
ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="scripto"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
|
@ -39,7 +39,8 @@ ynh_script_progression --message="Upgrading source files..." --weight=1
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files"
|
||||
ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" --full_replace=1
|
||||
ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport"
|
||||
ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="scripto"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue