update package
This commit is contained in:
parent
92dfae1f87
commit
d61c4e7e6a
3 changed files with 8 additions and 16 deletions
|
@ -1,9 +1,2 @@
|
|||
<?php
|
||||
class Config
|
||||
{
|
||||
const DB_HOST = 'localhost';
|
||||
const DB_NAME = '__DB_NAME__';
|
||||
const DB_USERNAME = '__DB_USER__';
|
||||
const DB_PASSWORD = '__DB_PWD__';
|
||||
const DATAACCESS_TOKEN = '__ACCESS_TOKEN__';
|
||||
}
|
||||
const DATAACCESS_TOKEN = '__ACCESS_TOKEN__';
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Yurdle"
|
|||
description.en = "yurdle package"
|
||||
description.tr = "yurdle paketi"
|
||||
|
||||
version = "1.0~ynh1"
|
||||
version = "1.1~ynh1"
|
||||
|
||||
maintainers = ["asandikci"]
|
||||
|
||||
|
@ -83,8 +83,8 @@ ram.runtime = "50M"
|
|||
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
||||
# ynh_setup_source --dest_dir="$install_dir"
|
||||
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
||||
url = "https://git.aliberksandikci.com.tr/ifl/Yurdle/releases/download/v1.0/yurdle_server.tar.gz"
|
||||
sha256 = "a027fc8fb43feb7ad9aaa45c81f33f393ad17db58b760284141ce3fa73ff806f"
|
||||
url = "https://git.aliberksandikci.com.tr/ifl/Yurdle/releases/download/v1.1/yurdle_server.tar.gz"
|
||||
sha256 = "960a46a5cc59b6985909616de5e167e88e91cacb36ab6d843c074110367e03e1"
|
||||
|
||||
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
||||
# to auto-update the previous asset urls and sha256sum + manifest version
|
||||
|
@ -115,8 +115,4 @@ ram.runtime = "50M"
|
|||
[resources.apt]
|
||||
# This will automatically install/uninstall the following apt packages
|
||||
# and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
|
||||
packages = "postgresql, php8.2-pgsql, php8.2-fpm"
|
||||
|
||||
[resources.database]
|
||||
# This will automatically provision/deprovison a MySQL DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
|
||||
type = "postgresql"
|
||||
packages = "php8.2-pgsql, php8.2-fpm"
|
||||
|
|
|
@ -153,6 +153,9 @@ ynh_add_config --template="../conf/config.php" --destination="$install_dir/confi
|
|||
chmod 400 "$install_dir/config.php"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
|
||||
chmod -R 600 "$install_dir/src/"
|
||||
chown -R $app:$app "$install_dir/src/"
|
||||
|
||||
### For more complex cases where you want to replace stuff using regexes,
|
||||
### you shoud rely on ynh_replace_string (which is basically a wrapper for sed)
|
||||
### When doing so, you also need to manually call ynh_store_file_checksum
|
||||
|
|
Loading…
Reference in a new issue