Update postinst

This commit is contained in:
ferrreo 2023-08-19 15:13:01 +01:00 committed by GitHub
parent 2e80973d67
commit d5d952de6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,19 @@
set -e set -e
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/extradeb-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
systemctl enable --now steam-repos-fix.service || echo "steam-repos-fix service could not be enabled" systemctl enable --now steam-repos-fix.service || echo "steam-repos-fix service could not be enabled"
mkdir -p /usr/share || echo "Path already exists!" mkdir -p /usr/share || echo "Path already exists!"