Compare commits

...

10 commits

Author SHA1 Message Date
c4a5f32596
package update 2023-12-20 23:05:13 +03:00
99e5499c24
package update 2023-12-20 23:00:45 +03:00
ac39124c34
package update 2023-12-20 22:56:46 +03:00
5db79f9e97
package update 2023-12-20 22:49:26 +03:00
afb999482d
package update 2023-12-20 22:47:35 +03:00
273afe9531
package update 2023-12-20 22:34:56 +03:00
f43ae18d8d
package update 2023-12-20 22:28:33 +03:00
25c3a17c1a
release: update new release 2023-12-20 18:21:46 +03:00
1940e94a7e
fix: revert changes 2023-12-20 13:28:12 +03:00
eb8a501e34
docs: add turkish doc 2023-12-20 12:58:18 +03:00
4 changed files with 9 additions and 8 deletions

1
doc/DESCRIPTION_tr.md Normal file
View file

@ -0,0 +1 @@
İzmir Fen Lisesi Randevu Portalı - (tr description)

View file

@ -5,7 +5,7 @@ name = "İFL Randevu"
description.en = "İzmir Fen Lisesi Appointment Portal" description.en = "İzmir Fen Lisesi Appointment Portal"
description.tr = "İzmir Fen Lisesi Randevu Portalı" description.tr = "İzmir Fen Lisesi Randevu Portalı"
version = "1.4.3~ynh3" version = "1.4.9"
maintainers = ["asandikci"] maintainers = ["asandikci"]
@ -43,8 +43,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://git.aliberksandikci.com.tr/ifl/iflrandevu/archive/1.4.3.zip" url = "https://git.aliberksandikci.com.tr/ifl/iflrandevu/releases/download/1.4.3-ifl.2/iflrandevu-1.4.3-ifl.2.zip"
sha256 = "8f899f2a55df01f4f234882b6b80dd2c35f7ca46ed5e41d18ebf8299a9c957ab" sha256 = "66b5ecc621e7ecfb22edee8497ec44c59b10e0ffb5a49aa42d1fa30891f33f28"
in_subdir = false in_subdir = false
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"

View file

@ -15,12 +15,10 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Setting up source files..." --weight=7 ynh_script_progression --message="Setting up source files..." --weight=7
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
install_dir="${install_dir}/../"
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
# mkdir "$install_dir/storage"
chmod -R 770 "$install_dir/storage" chmod -R 770 "$install_dir/storage"
#================================================= #=================================================

View file

@ -19,13 +19,15 @@ upgrade_type=$(ynh_check_app_version_changed)
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ] # FIXME possibly not the best way, but UPGRADE_APP varible returns UNKNOWN.
then
# if [ "$upgrade_type" == "UPGRADE_APP" ]
# then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/" ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/"
fi # fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"