From a85c68f9f63429714491a77987125e417616a3c2 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sat, 19 Aug 2023 01:32:21 +0300 Subject: [PATCH] part 1 refactor --- pika-sources/debian/changelog | 2 +- pika-sources/debian/preinst | 5 +++++ .../sources.list.d/{amdgpu.sources => pika-amdgpu.sources} | 0 .../sources.list.d/{amdvlk.sources => pika-amdvlk.sources} | 0 .../{xtradeb-apps.sources => pika-extradeb-apps.sources} | 0 ...untu-backports.sources => pika-kubuntu-backports.sources} | 0 .../{mozillateam-ppa.sources => pika-mozilla.sources} | 0 .../apt/sources.list.d/{rocm.sources => pika-rocm.sources} | 0 .../apt/sources.list.d/{steam.sources => pika-steam.sources} | 0 .../apt/sources.list.d/{winehq.sources => pika-wine.sources} | 0 .../{xtradeb-play.sources => pika-xtradeb-play.sources} | 0 11 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 pika-sources/debian/preinst rename pika-sources/etc/apt/sources.list.d/{amdgpu.sources => pika-amdgpu.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{amdvlk.sources => pika-amdvlk.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{xtradeb-apps.sources => pika-extradeb-apps.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{kubuntu-backports.sources => pika-kubuntu-backports.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{mozillateam-ppa.sources => pika-mozilla.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{rocm.sources => pika-rocm.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{steam.sources => pika-steam.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{winehq.sources => pika-wine.sources} (100%) rename pika-sources/etc/apt/sources.list.d/{xtradeb-play.sources => pika-xtradeb-play.sources} (100%) diff --git a/pika-sources/debian/changelog b/pika-sources/debian/changelog index 55b6c77..ad800b2 100644 --- a/pika-sources/debian/changelog +++ b/pika-sources/debian/changelog @@ -1,4 +1,4 @@ -pika-sources (5.7-99pika1-lunar) lunar; urgency=low +pika-sources (5.8-99pika1-lunar) lunar; urgency=low * Add new mesa diff --git a/pika-sources/debian/preinst b/pika-sources/debian/preinst new file mode 100644 index 0000000..a350ba4 --- /dev/null +++ b/pika-sources/debian/preinst @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +rm -rf /etc/apt/sources.list.d/pika-*.source || true diff --git a/pika-sources/etc/apt/sources.list.d/amdgpu.sources b/pika-sources/etc/apt/sources.list.d/pika-amdgpu.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/amdgpu.sources rename to pika-sources/etc/apt/sources.list.d/pika-amdgpu.sources diff --git a/pika-sources/etc/apt/sources.list.d/amdvlk.sources b/pika-sources/etc/apt/sources.list.d/pika-amdvlk.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/amdvlk.sources rename to pika-sources/etc/apt/sources.list.d/pika-amdvlk.sources diff --git a/pika-sources/etc/apt/sources.list.d/xtradeb-apps.sources b/pika-sources/etc/apt/sources.list.d/pika-extradeb-apps.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/xtradeb-apps.sources rename to pika-sources/etc/apt/sources.list.d/pika-extradeb-apps.sources diff --git a/pika-sources/etc/apt/sources.list.d/kubuntu-backports.sources b/pika-sources/etc/apt/sources.list.d/pika-kubuntu-backports.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/kubuntu-backports.sources rename to pika-sources/etc/apt/sources.list.d/pika-kubuntu-backports.sources diff --git a/pika-sources/etc/apt/sources.list.d/mozillateam-ppa.sources b/pika-sources/etc/apt/sources.list.d/pika-mozilla.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/mozillateam-ppa.sources rename to pika-sources/etc/apt/sources.list.d/pika-mozilla.sources diff --git a/pika-sources/etc/apt/sources.list.d/rocm.sources b/pika-sources/etc/apt/sources.list.d/pika-rocm.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/rocm.sources rename to pika-sources/etc/apt/sources.list.d/pika-rocm.sources diff --git a/pika-sources/etc/apt/sources.list.d/steam.sources b/pika-sources/etc/apt/sources.list.d/pika-steam.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/steam.sources rename to pika-sources/etc/apt/sources.list.d/pika-steam.sources diff --git a/pika-sources/etc/apt/sources.list.d/winehq.sources b/pika-sources/etc/apt/sources.list.d/pika-wine.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/winehq.sources rename to pika-sources/etc/apt/sources.list.d/pika-wine.sources diff --git a/pika-sources/etc/apt/sources.list.d/xtradeb-play.sources b/pika-sources/etc/apt/sources.list.d/pika-xtradeb-play.sources similarity index 100% rename from pika-sources/etc/apt/sources.list.d/xtradeb-play.sources rename to pika-sources/etc/apt/sources.list.d/pika-xtradeb-play.sources