Browse Source

Stop using non-ppa repos

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 2 years ago
parent
commit
a68ad7d93e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 11 additions and 6 deletions
  1. +6
    -0
      sources/kxstudio/kxstudio-repos/debian/changelog
  2. +0
    -1
      sources/kxstudio/kxstudio-repos/debian/files
  3. +5
    -3
      sources/kxstudio/kxstudio-repos/debian/kxstudio-repos.postinst
  4. +0
    -2
      sources/kxstudio/kxstudio-repos/kxstudio-external.list

+ 6
- 0
sources/kxstudio/kxstudio-repos/debian/changelog View File

@@ -1,3 +1,9 @@
kxstudio-repos (11.1.0) focal; urgency=medium

* Remove old non-PPA repo

-- falkTX <falktx@falktx.com> Sun, 22 May 2022 19:15:00 +0100

kxstudio-repos (11.0.1) focal; urgency=medium

* Update for 20.04 as builder base


+ 0
- 1
sources/kxstudio/kxstudio-repos/debian/files View File

@@ -1 +0,0 @@
kxstudio-repos_11.0.1_source.buildinfo metapackages optional

+ 5
- 3
sources/kxstudio/kxstudio-repos/debian/kxstudio-repos.postinst View File

@@ -25,7 +25,7 @@ deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main
" > /etc/apt/sources.list.d/kxstudio-debian-ppas.list
fi

if [ ! -f /etc/apt/sources.list.d/kxstudio-debian-ppas.list ]; then
if [ ! -f /etc/apt/sources.list.d/kxstudio-debian-ppas-2.list ]; then
echo "deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu focal main
#deb-src http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu focal main

@@ -53,6 +53,7 @@ rm -f /etc/apt/sources.list.d/kxstudio-debian.list
rm -f /etc/apt/sources.list.d/kxstudio-debian.new.list
rm -f /etc/apt/sources.list.d/kxstudio-debian.gcc5.list
rm -f /etc/apt/sources.list.d/kxstudio-debian.gcc5plus.list
rm -f /etc/apt/sources.list.d/kxstudio-external.list
rm -f /etc/apt/sources.list.d/kxstudio-free.list
rm -f /etc/apt/sources.list.d/kxstudio-free.gcc5.list

@@ -64,10 +65,11 @@ rm -f /etc/apt/sources.list.d/kxstudio-non-free.list
###########################################################################################
# Fix for Ubuntu version upgrades messing up stuff

VERSIONS=("cosmic" "disco" "eoan")
VERSIONS=("cosmic" "disco" "eoan" "focal" "impish" "jammy")

for VERSION in ${VERSIONS[@]}; do
sed "s/ $VERSION / bionic /" -i /etc/apt/sources.list.d/kxstudio-debian-ppas.list
sed "s/ $VERSION / bionic /" -i /etc/apt/sources.list.d/kxstudio-debian-ppas.list
sed "s/ $VERSION / focal /" -i /etc/apt/sources.list.d/kxstudio-debian-ppas-2.list

rm -f /etc/apt/sources.list.d/kxstudio-debian-libs-"$VERSION".list
rm -f /etc/apt/sources.list.d/kxstudio-debian-music-"$VERSION".list


+ 0
- 2
sources/kxstudio/kxstudio-repos/kxstudio-external.list View File

@@ -1,2 +0,0 @@
deb [arch=amd64,i386] https://kx.studio/repo/ stable free
deb [arch=amd64,i386] https://kx.studio/repo/ gcc5 free

Loading…
Cancel
Save