1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00

php7.2-sqlite3 instead of php7.2-sqlite

This commit is contained in:
anmol26s 2018-07-01 00:18:08 +05:30
parent c3721fc52a
commit e1095a5812

View file

@ -116,7 +116,7 @@ ynh_install_php7 () {
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.list echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.list
ynh_package_update ynh_package_update
ynh_install_app_dependencies php7.2 php7.2-zip php7.2-fpm php7.2-mysql php7.2-xml php7.2-intl php7.2-mbstring php7.2-gd php7.2-curl php7.2-bcmath php7.2-opcache php7.2-sqlite ynh_install_app_dependencies php7.2 php7.2-zip php7.2-fpm php7.2-mysql php7.2-xml php7.2-intl php7.2-mbstring php7.2-gd php7.2-curl php7.2-bcmath php7.2-opcache php7.2-sqlite3
sudo update-alternatives --install /usr/bin/php php /usr/bin/php5 70 sudo update-alternatives --install /usr/bin/php php /usr/bin/php5 70
} }
@ -125,5 +125,5 @@ ynh_remove_php7 () {
sudo rm -f /etc/apt/sources.list.d/php7.list sudo rm -f /etc/apt/sources.list.d/php7.list
sudo apt-key del 4096R/89DF5277 sudo apt-key del 4096R/89DF5277
sudo apt-key del 2048R/11A06851 sudo apt-key del 2048R/11A06851
ynh_remove_app_dependencies php7.2 php7.2-zip php7.2-fpm php7.2-mysql php7.2-xml php7.2-intl php7.2-mbstring php7.2-gd php7.2-curl php7.2-bcmath php7.2-opcache php7.2-sqlite ynh_remove_app_dependencies php7.2 php7.2-zip php7.2-fpm php7.2-mysql php7.2-xml php7.2-intl php7.2-mbstring php7.2-gd php7.2-curl php7.2-bcmath php7.2-opcache php7.2-sqlite3
} }