do not flip order of scanning every other scan

This commit is contained in:
Alexander Bocken 2021-06-15 11:27:46 +02:00
parent b4be291913
commit ab9ff3b29e
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -16,7 +16,7 @@ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0.0
help="threadwatcher [add URL DL_LOCATION] [list] [edit] [clean]
help="threadwatcher [add URL DL_LOCATION] [list] [edit] [clean] [help]
add URL DL_LOCATION
downloads specified thread to given location. Paths can be relative to HOME or absolute.
@ -113,7 +113,8 @@ scan(){
done
wait
done
mv "$TMP_URLFILE" "$URLFILE"
tac "$TMP_URLFILE" > "$URLFILE"
rm "$TMP_URLFILE"
rm /tmp/threadwatcher.lock
}