mirror of
https://github.com/jellyfin/jellyfin-packaging.git
synced 2026-09-03 03:29:58 +03:00
Remove extraneous sources.list.d entries on Ubuntu
Fixes a build failure on Noble due to duplications in here, but should still work on older version as well since we write new versions and those just used sources.list (not the .d directory)
This commit is contained in:
Vendored
+1
-1
@@ -51,7 +51,7 @@ RUN apt-get update -y \
|
||||
# Prepare the cross-toolchain
|
||||
RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \
|
||||
if grep -q -i ubuntu /etc/os-release; then \
|
||||
rm /etc/apt/sources.list \
|
||||
rm /etc/apt/sources.list /etc/apt/sources.list.d/* \
|
||||
&& export CODENAME="$( lsb_release -c -s )" \
|
||||
&& echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME} main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \
|
||||
&& echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME}-updates main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \
|
||||
|
||||
Reference in New Issue
Block a user