Refactor: Remove redundant dependencies & unify unzip usage (#4780)
* refactor unzip / remove dep * remove deps from alpine packages * remove gnupg * remove gnupg
This commit is contained in:
@@ -18,15 +18,15 @@ $STD curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microso
|
||||
$STD dpkg -i packages-microsoft-prod.deb
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y \
|
||||
dotnet-sdk-8.0 \
|
||||
aspnetcore-runtime-8.0
|
||||
dotnet-sdk-8.0 \
|
||||
aspnetcore-runtime-8.0
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Umlautadaptarr"
|
||||
temp_file=$(mktemp)
|
||||
RELEASE=$(curl -s https://api.github.com/repos/PCJones/Umlautadaptarr/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')
|
||||
curl -fsSL "https://github.com/PCJones/Umlautadaptarr/releases/download/${RELEASE}/linux-x64.zip" -o $temp_file
|
||||
unzip -qj $temp_file '*/**' -d /opt/UmlautAdaptarr
|
||||
$STD unzip -j $temp_file '*/**' -d /opt/UmlautAdaptarr
|
||||
echo "${RELEASE}" >"/opt/UmlautAdaptarr_version.txt"
|
||||
msg_ok "Installation completed"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user