Skip to content
Snippets Groups Projects
Commit 0e40eb74 authored by Bob Mottram's avatar Bob Mottram
Browse files

rsync special case for app screen

parent 93def2ef
No related branches found
No related tags found
No related merge requests found
......@@ -970,7 +970,11 @@ function web_admin_create_installed_apps_category {
sed -i "s|HOSTNAME|$(hostname)|g" "$filename"
sed -i "s|APPNAME|${app_name}|g" "$filename"
if [[ "${onion_domain_name}" == *'.'* ]]; then
sed -i "s|ONIONURL|http://${onion_domain_name}|g" "$filename"
if [[ "$app_name" != 'rsync' ]]; then
sed -i "s|ONIONURL|http://${onion_domain_name}|g" "$filename"
else
sed -i "s|ONIONURL|${domain_name}|g" "$filename"
fi
else
if [[ "$app_name" == 'syncthing' ]]; then
# syncthing is treated as a special case
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment