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

Remove symbolic link

parent 56fb1e89
No related branches found
No related tags found
No related merge requests found
......@@ -626,6 +626,10 @@ function upgrade_peertube {
read_config_param PEERTUBE_DOMAIN_NAME
systemctl stop peertube
# recreate the link to the latest version
cd "$PEERTUBE_DIR" || return
rm "$PEERTUBE_DIR/peertube-latest"
install_peertube_base
chown -R peertube:peertube $PEERTUBE_DIR
......@@ -661,7 +665,7 @@ function upgrade_peertube {
sed -i "/contact_form:/a enabled: true 82284" "${PEERTUBE_CONFIG_FILE}"
sed -i 's|enabled: true 82284| enabled: true|g' "${PEERTUBE_CONFIG_FILE}"
fi
systemctl start peertube
set_completion_param "peertube version" "$PEERTUBE_VERSION"
......
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