}
mkdir -p "$tmp/$tag"
+any=nil
+for i in "$tmp/$tag/dest.new" "$tmp/$tag/dest" "$tmp/$tag/dest.seen"; do
+ if [ -f "$tmp/$tag/dest.new" ]; then any=t; fi
+done
+case $any in
+ nil) printf "%s\n" "${sub+$sub/}$out.iso" >"$tmp/$tag/dest.new" ;;
+esac
case $backup in
t)
if [ ! -d "$tmp/$tag/rip" ]; then
fi
;;
esac
-printf "%s\n" "${sub+$sub/}$out.iso" >"$tmp/$tag/dest.new"
mv "$tmp/$tag/dest.new" "$tmp/$tag/dest"
run "$DVDRIP_UPLOAD"
case $eject in t) run eject "$dev" ;; esac