1
0
Fork 0
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:
ericgaspar 2021-05-12 08:51:45 +02:00
parent f2ce62c8b4
commit b20202e14e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -136,10 +136,8 @@ ynh_replace_string --match_string="https://ajax.googleapis.com/ajax/libs/jquery/
# ADD HASTE AS A BINARY FILE
#=================================================
ynh_replace_string --match_string="__HASTE_URL__" --replace_string="${domain}${path_url%/}" --target_file="../conf/haste.sh"
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/haste.sh"
cp ../conf/haste.sh /usr/bin/$app
haste_url="${domain}${path_url}"
ynh_add_config --template="../conf/haste.sh" --destination="/usr/bin/$app"
#=================================================
# GENERIC FINALIZATION