mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
Update install
This commit is contained in:
parent
f2ce62c8b4
commit
b20202e14e
1 changed files with 2 additions and 4 deletions
|
@ -136,10 +136,8 @@ ynh_replace_string --match_string="https://ajax.googleapis.com/ajax/libs/jquery/
|
||||||
# ADD HASTE AS A BINARY FILE
|
# ADD HASTE AS A BINARY FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_replace_string --match_string="__HASTE_URL__" --replace_string="${domain}${path_url%/}" --target_file="../conf/haste.sh"
|
haste_url="${domain}${path_url}"
|
||||||
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/haste.sh"
|
ynh_add_config --template="../conf/haste.sh" --destination="/usr/bin/$app"
|
||||||
|
|
||||||
cp ../conf/haste.sh /usr/bin/$app
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue