1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00

Re-order of checks

This commit is contained in:
polytan02 2016-12-23 21:01:37 +00:00
parent d858958a95
commit 2b5c998dc9

View file

@ -26,14 +26,13 @@ CHECK_VAR "$app" "app name not set"
# Check the path value and correct it (adds / at begining and removes it at the end) # Check the path value and correct it (adds / at begining and removes it at the end)
CHECK_PATH; CHECK_PATH;
CHECK_CALIBREPATH;
# Check domain and path availibility # Check domain and path availibility
CHECK_DOMAINPATH CHECK_DOMAINPATH
# Check destination folder is not used already # Check destination folder is not used already
CHECK_FINALPATH CHECK_FINALPATH
CHECK_CALIBREPATH;
final_path=/var/www/$app final_path=/var/www/$app
# Define variables and Save app settings # Define variables and Save app settings