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

Check for directory

parent 3718c9fb
No related branches found
No related tags found
No related merge requests found
......@@ -456,6 +456,10 @@ function peertube_database_extensions {
function upgrade_peertube {
peertube_import_from_syncthing
if [ ! -d "$PEERTUBE_DIR/peertube-latest" ]; then
return
fi
CURR_PEERTUBE_VERSION=$(get_completion_param "peertube version")
if [[ "$CURR_PEERTUBE_VERSION" == "$PEERTUBE_VERSION" ]]; then
return
......
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