1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cowyo_ynh.git synced 2024-09-03 18:16:15 +02:00

[fix] remove app.sh tests

This commit is contained in:
tituspijean 2019-10-13 13:18:57 +02:00
parent c616b28912
commit 77435e02e1
2 changed files with 0 additions and 17 deletions

View file

@ -100,13 +100,6 @@ ynh_replace_string "__PORT__" "$port" "../conf/systemd.service"
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/${app}.sh"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -117,16 +117,6 @@ ynh_script_progression --message="Making sure dedicated system user exists..." -
# Create a dedicated user (if not existing)
ynh_system_user_create --username=$app
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
ynh_backup_if_checksum_is_different --file="$final_path/${app}.sh"
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/${app}.sh"
#=================================================
# SETUP LOGROTATE
#=================================================