Update pika-sources/debian/postinst

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-11 22:26:32 +02:00
parent 382cb3f31c
commit b0b9d671f2

View File

@ -2,24 +2,7 @@
set -e
rm -rf /etc/apt/sources.list.d/pika-* || true
rm -rf /etc/apt/preferences.d/*pika* || true
rm -f /etc/apt/sources.list.d/amdgpu.sources || true
rm -f /etc/apt/sources.list.d/amdvlk.sources || true
rm -f /etc/apt/sources.list.d/xtradeb-apps.sources || true
rm -f /etc/apt/sources.list.d/kubuntu-backports.sources || true
rm -f /etc/apt/sources.list.d/mozillateam-ppa.sources || true
rm -f /etc/apt/sources.list.d/rocm.sources || true
rm -f /etc/apt/sources.list.d/steam.sources || true
rm -f /etc/apt/sources.list.d/winehq.sources || true
rm -f /etc/apt/sources.list.d/xtradeb-play.sources || true
rm -f /etc/apt/preferences.d/0-pika-default-settings || true
rm -f /etc/apt/preferences.d/51-ppa-default-settings || true
rm -f /etc/apt/preferences.d/0-radeon-repo-settings || true
rm -f /etc/apt/sources.list.d/kisak-mesa.sources || true
cp -rf /usr/share/apt-pika/* /etc/ || true
cp -rf /usr/share/apt-pika/etc/* /etc/ || true
systemctl enable --now steam-repos-fix.service || echo "steam-repos-fix service could not be enabled"