diff --git a/manifest.toml b/manifest.toml index f848361..51bf4b2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -102,5 +102,5 @@ ram.runtime = "50M" [resources.apt] # This will automatically install/uninstall the following apt packages - # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed) - packages = "ca-certificates, curl, python3, python3-dev, libcurl4-openssl-dev, gcc, libssl-dev, ffmpeg, v4l-utils, libssl-dev, libcurl4-openssl-dev, libjpeg-dev, zlib1g-dev, libffi-dev, libzbar-dev, libzbar0" + # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed) + packages = "ca-certificates curl python3 python3-dev libcurl4-openssl-dev gcc libssl-dev ffmpeg v4l-utils libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0" diff --git a/scripts/restore b/scripts/restore index 2bec09d..2719291 100755 --- a/scripts/restore +++ b/scripts/restore @@ -32,13 +32,6 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory # (Same as for install dir) chown -R $app:www-data "$data_dir" -#================================================= -# RESTORE THE MYSQL DATABASE -#================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 - -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql - #================================================= # RESTORE SYSTEM CONFIGURATIONS #=================================================