jbilcke-hf HF staff commited on
Commit
ae80246
·
1 Parent(s): 80c5d2a

trying to repair the TV

Browse files
Files changed (3) hide show
  1. scripts/video2.sh +1 -0
  2. scripts/video3.sh +1 -0
  3. scripts/video4.sh +1 -0
scripts/video2.sh CHANGED
@@ -18,6 +18,7 @@ while true; do
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_2_video_tmp.txt
20
  done
 
21
  mv channel_2_video_tmp.txt channel_2_video.txt
22
  fi
23
 
 
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_2_video_tmp.txt
20
  done
21
+ rm channel_2_video.txt
22
  mv channel_2_video_tmp.txt channel_2_video.txt
23
  fi
24
 
scripts/video3.sh CHANGED
@@ -18,6 +18,7 @@ while true; do
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_3_video_tmp.txt
20
  done
 
21
  mv channel_3_video_tmp.txt channel_3_video.txt
22
  fi
23
 
 
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_3_video_tmp.txt
20
  done
21
+ rm channel_3_video.txt
22
  mv channel_3_video_tmp.txt channel_3_video.txt
23
  fi
24
 
scripts/video4.sh CHANGED
@@ -18,6 +18,7 @@ while true; do
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_4_video_tmp.txt
20
  done
 
21
  mv channel_4_video_tmp.txt channel_4_video.txt
22
  fi
23
 
 
18
  for (( i=0; i<${#files[@]}; i++ )); do
19
  echo "file '${files[$i]}'" >> channel_4_video_tmp.txt
20
  done
21
+ rm channel_4_video.txt
22
  mv channel_4_video_tmp.txt channel_4_video.txt
23
  fi
24