diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index 237ee5fc..1b38aa03 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -121,6 +121,10 @@ function peertube_import_from_syncthing { echo ' fi'; echo ' fi'; echo ' fi'; + echo ' else'; + echo " if grep \"\$video_file\" /root/.peertube_uploading; then"; + echo " sed -i \"/\$video_file/d\" /root/.peertube_uploading"; + echo ' fi'; echo ' fi'; echo ' fi'; echo 'done'; } > /usr/bin/peertubesync