mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
commit
c211bfe202
2 changed files with 2 additions and 4 deletions
|
@ -9,7 +9,7 @@ description.fr = "Application minimaliste de partage de fichiers"
|
||||||
|
|
||||||
version = "2.4.18~ynh5"
|
version = "2.4.18~ynh5"
|
||||||
|
|
||||||
maintainers = [""]
|
maintainers = []
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
|
|
|
@ -41,9 +41,7 @@ ynh_add_fpm_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Cleaning php sessions stored..." --weight=1
|
ynh_script_progression --message="Cleaning php sessions stored..." --weight=1
|
||||||
|
|
||||||
if [ -d "/usr/lib/php5" ]; then
|
if [ -d "/usr/lib/php" ]; then
|
||||||
[ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
|
|
||||||
elif [ -d "/usr/lib/php" ]; then
|
|
||||||
[ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean
|
[ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue