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

version for comparison

This commit is contained in:
Robles Rodolphe 2023-09-19 17:58:07 +02:00 committed by GitHub
parent 95e251271c
commit 01de0e7c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ find "$install_dir/data" -type f -exec chmod 660 {} +
chmod 440 "$install_dir/config.local.php" chmod 440 "$install_dir/config.local.php"
chmod 440 "$install_dir/config.local.yunohost.php" chmod 440 "$install_dir/config.local.yunohost.php"
if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh1; then if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh4; then
chmod 660 "$install_dir/config.local.user.php" chmod 660 "$install_dir/config.local.user.php"
else else
chmod 660 "$install_dir/data/config.local.user.php" chmod 660 "$install_dir/data/config.local.user.php"