|
@@ -119,7 +119,7 @@ else
|
|
|
ynh_setup_source --dest_dir="$final_path" --source_id=admin_dashboard_last
|
|
ynh_setup_source --dest_dir="$final_path" --source_id=admin_dashboard_last
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-chown -R $app:www-data "$final_path"
|
|
|
|
|
|
|
+chown $app:www-data "$final_path"
|
|
|
|
|
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# NGINX CONFIGURATION
|
|
# NGINX CONFIGURATION
|
|
@@ -220,7 +220,10 @@ fi
|
|
|
|
|
|
|
|
# Instead of downloading a binary file, we're going to compile it
|
|
# Instead of downloading a binary file, we're going to compile it
|
|
|
( cd "$FTL_temp_path"
|
|
( cd "$FTL_temp_path"
|
|
|
-ynh_exec_warn_less cmake .
|
|
|
|
|
|
|
+if [ "$pihole_version" == "Last available" ]
|
|
|
|
|
+then
|
|
|
|
|
+ ynh_exec_warn_less cmake .
|
|
|
|
|
+fi
|
|
|
ynh_exec_warn_less make
|
|
ynh_exec_warn_less make
|
|
|
ynh_exec_warn_less make install )
|
|
ynh_exec_warn_less make install )
|
|
|
ynh_secure_remove --file="$FTL_temp_path"
|
|
ynh_secure_remove --file="$FTL_temp_path"
|