diff --git a/pika-sources/debian/changelog b/pika-sources/debian/changelog index e5da6af..72a29a6 100644 --- a/pika-sources/debian/changelog +++ b/pika-sources/debian/changelog @@ -1,3 +1,9 @@ +pika-sources (4.0-99pika3) kinetic; urgency=low + + * Link mirrors + + -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200 + pika-sources (4.0-99pika2) kinetic; urgency=low * Add kubuntu ppa priority override diff --git a/pika-sources/debian/control b/pika-sources/debian/control index 33f50c6..3ad3422 100644 --- a/pika-sources/debian/control +++ b/pika-sources/debian/control @@ -9,6 +9,7 @@ Homepage: https://github.com/PikaOS-Linux/ Package: pika-sources Section: misc Architecture: all +Pre-Depends: python-apt-common, distro-info-data Depends: ${misc:Depends} Description: APT Source files and keyrings for the repositories we use/provide. diff --git a/pika-sources/debian/postinst b/pika-sources/debian/postinst index f0e3cd8..ece6fde 100755 --- a/pika-sources/debian/postinst +++ b/pika-sources/debian/postinst @@ -4,3 +4,9 @@ set -e 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/distro-info/ || echo "Path already exists!" +ln -sf /usr/share/distro-info/ubuntu.csv /usr/share/distro-info/pika.csv || echo "Link already exists!" +mkdir -p /usr/share/python-apt/templates/ || echo "Path already exists!" +ln -sf /usr/share/python-apt/templates/Ubuntu.info /usr/share/python-apt/templates/Pika.info || echo "Link already exists!" +ln -sf /usr/share/python-apt/templates/Ubuntu.mirrors /usr/share/python-apt/templates/Pika.mirrors || echo "Link already exists!"