slimshadow commited on
Commit
1598eca
1 Parent(s): 23c04d7

Update on_startup.sh

Browse files
Files changed (1) hide show
  1. on_startup.sh +18 -3
on_startup.sh CHANGED
@@ -1,9 +1,24 @@
 
1
 
2
  # Update package list
3
- # sudo apt update
 
 
 
 
 
 
 
 
 
4
 
5
  # Install ffmpeg
6
- apt install -y ffmpeg
 
 
 
7
 
8
  # Install yt-dlp
9
- apt install -y python3-pip
 
 
 
1
+ #!/bin/bash
2
 
3
  # Update package list
4
+ apt-get update
5
+
6
+ # Install software-properties-common to manage repositories
7
+ apt-get install -y software-properties-common
8
+
9
+ # Add the repository for ffmpeg
10
+ add-apt-repository -y ppa:jonathonf/ffmpeg-4
11
+
12
+ # Update package list again after adding the repository
13
+ apt-get update
14
 
15
  # Install ffmpeg
16
+ apt-get install -y ffmpeg
17
+
18
+ # Install python3-pip
19
+ apt-get install -y python3-pip
20
 
21
  # Install yt-dlp
22
+ pip3 install -U yt-dlp
23
+
24
+ echo "Installation of ffmpeg and yt-dlp completed."