Compare commits
No commits in common. "c4a5f325965c89669374388040c372408dc441f1" and "3185a61c224b96eea3e71ab975857b320bda1f00" have entirely different histories.
c4a5f32596
...
3185a61c22
4 changed files with 8 additions and 9 deletions
|
@ -1 +0,0 @@
|
|||
İzmir Fen Lisesi Randevu Portalı - (tr description)
|
|
@ -5,7 +5,7 @@ name = "İFL Randevu"
|
|||
description.en = "İzmir Fen Lisesi Appointment Portal"
|
||||
description.tr = "İzmir Fen Lisesi Randevu Portalı"
|
||||
|
||||
version = "1.4.9"
|
||||
version = "1.4.3~ynh3"
|
||||
|
||||
maintainers = ["asandikci"]
|
||||
|
||||
|
@ -43,8 +43,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://git.aliberksandikci.com.tr/ifl/iflrandevu/releases/download/1.4.3-ifl.2/iflrandevu-1.4.3-ifl.2.zip"
|
||||
sha256 = "66b5ecc621e7ecfb22edee8497ec44c59b10e0ffb5a49aa42d1fa30891f33f28"
|
||||
url = "https://git.aliberksandikci.com.tr/ifl/iflrandevu/archive/1.4.3.zip"
|
||||
sha256 = "8f899f2a55df01f4f234882b6b80dd2c35f7ca46ed5e41d18ebf8299a9c957ab"
|
||||
in_subdir = false
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
|
|
|
@ -15,10 +15,12 @@ source /usr/share/yunohost/helpers
|
|||
ynh_script_progression --message="Setting up source files..." --weight=7
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
install_dir="${install_dir}/../"
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
# mkdir "$install_dir/storage"
|
||||
chmod -R 770 "$install_dir/storage"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -19,15 +19,13 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
||||
# FIXME possibly not the best way, but UPGRADE_APP varible returns UNKNOWN.
|
||||
|
||||
# if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
# then
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/"
|
||||
# fi
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue