mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
"ynh_" removed to avoid ambiguity
This commit is contained in:
parent
3e32fb100c
commit
6f37e451dc
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ pkg_dependencies="postgresql postgresql-contrib"
|
|||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
||||
ynh_detect_arch(){
|
||||
detect_arch(){
|
||||
local architecture
|
||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||
architecture="arm64"
|
||||
|
|
|
@ -141,7 +141,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
### `ynh_setup_source` use the file conf/app.src
|
||||
|
||||
# ynh_detect_arch comes from _common.sh / personnal helpers
|
||||
architecture=$ynh_detect_arch
|
||||
architecture=$detect_arch
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture
|
||||
|
|
|
@ -84,7 +84,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..."
|
||||
|
||||
# ynh_detect_arch comes from _common.sh / personnal helpers
|
||||
architecture=$ynh_detect_arch
|
||||
architecture=$detect_arch
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture --keep="config.yaml"
|
||||
|
|
Loading…
Reference in a new issue