Compare commits
10 commits
3185a61c22
...
c4a5f32596
Author | SHA1 | Date | |
---|---|---|---|
c4a5f32596 | |||
99e5499c24 | |||
ac39124c34 | |||
5db79f9e97 | |||
afb999482d | |||
273afe9531 | |||
f43ae18d8d | |||
25c3a17c1a | |||
1940e94a7e | |||
eb8a501e34 |
4 changed files with 9 additions and 8 deletions
1
doc/DESCRIPTION_tr.md
Normal file
1
doc/DESCRIPTION_tr.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
İzmir Fen Lisesi Randevu Portalı - (tr description)
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue