Skip to content

Commit fb99364

Browse files
committed
update FileFlows
1 parent 7cac878 commit fb99364

2 files changed

Lines changed: 13 additions & 15 deletions

File tree

ct/fileflows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ color
2121
catch_errors
2222

2323
function update_script() {
24-
header_info
24+
header_info
2525
check_container_storage
2626
check_container_resources
2727

install/fileflows-install.sh

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,30 @@ network_check
1515
update_os
1616

1717
msg_info "Installing Dependencies"
18-
$STD apt-get install -y \
18+
$STD apt install -y \
1919
ffmpeg \
20-
jq \
2120
imagemagick
2221
msg_ok "Installed Dependencies"
2322

2423
setup_hwaccel
24+
setup_deb822_repo \
25+
"microsoft" \
26+
"https://packages.microsoft.com/keys/microsoft-2025.asc" \
27+
"https://packages.microsoft.com/debian/13/prod/" \
28+
"trixie"
29+
fetch_and_deploy_archive "https://fileflows.com/downloads/zip" "/opt/fileflows"
2530

2631
msg_info "Installing ASP.NET Core Runtime"
27-
curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
28-
$STD dpkg -i packages-microsoft-prod.deb
29-
rm -rf packages-microsoft-prod.deb
30-
$STD apt-get update
31-
$STD apt-get install -y aspnetcore-runtime-8.0
32+
$STD apt install -y aspnetcore-runtime-8.0
3233
msg_ok "Installed ASP.NET Core Runtime"
3334

34-
msg_info "Setup ${APPLICATION}"
35+
msg_info "Setup FileFlows"
3536
$STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg
3637
$STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe
37-
temp_file=$(mktemp)
38-
curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file"
39-
$STD unzip -d /opt/fileflows "$temp_file"
40-
(cd /opt/fileflows/Server && dotnet FileFlows.Server.dll --systemd install --root true)
38+
cd /opt/fileflows/Server
39+
$STD dotnet FileFlows.Server.dll --systemd install --root true
4140
systemctl enable -q --now fileflows
42-
rm -f "$temp_file"
43-
msg_ok "Setup ${APPLICATION}"
41+
msg_ok "Setup FileFlows"
4442

4543
motd_ssh
4644
customize

0 commit comments

Comments
 (0)