From d809f9d575afe2b9d2b9adc21c14bf46a8b35ecb Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:17:35 +0300 Subject: [PATCH] --- amdgpu.sh | 4 ++++ external-misc.sh | 11 ++++++++--- external-mozilla.sh | 6 +++++- external-nvidia.sh | 6 +++++- external-steam.sh | 4 ++++ external-sys76.sh | 4 ++++ external-winehq.sh | 4 ++++ external-xtradeb.sh | 6 +++++- rocm.sh | 4 ++++ 9 files changed, 43 insertions(+), 6 deletions(-) diff --git a/amdgpu.sh b/amdgpu.sh index 74e19e2..9926d16 100644 --- a/amdgpu.sh +++ b/amdgpu.sh @@ -39,6 +39,10 @@ else sed -i "s#Components:#Components: amdgpu#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C amdgpu -V --basedir ./output/repo/ includedeb lunar ./output/*.deb diff --git a/external-misc.sh b/external-misc.sh index cea2f02..1d8bffc 100644 --- a/external-misc.sh +++ b/external-misc.sh @@ -2,7 +2,7 @@ set -e -SHOULD_EXIT=0 +REPOS_EMPTY=0 # Give correct perms to Apt version checker chmod 755 ./ppp @@ -31,7 +31,7 @@ then apt download $WASTA_PPP -y else echo "Wasta Repos are synced" - export SHOULD_EXIT=1 + export REPOS_EMPTY=1 fi rm -rf /etc/apt/sources.list.d/external.list @@ -46,7 +46,7 @@ then apt download $PAPIRUS_PPP -y else echo "Papirus Repos are synced" - if [[ $SHOULD_EXIT == 1 ]] + if [[ $REPOS_EMPTY == 1 ]] then exit 0 fi @@ -71,8 +71,13 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +exit 0 \ No newline at end of file diff --git a/external-mozilla.sh b/external-mozilla.sh index 40db4b2..29ae26b 100644 --- a/external-mozilla.sh +++ b/external-mozilla.sh @@ -53,8 +53,12 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/external-nvidia.sh b/external-nvidia.sh index 3cb8eb4..74c3c40 100644 --- a/external-nvidia.sh +++ b/external-nvidia.sh @@ -60,8 +60,12 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/external-steam.sh b/external-steam.sh index 37c9bcb..519b209 100644 --- a/external-steam.sh +++ b/external-steam.sh @@ -60,6 +60,10 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb diff --git a/external-sys76.sh b/external-sys76.sh index a7bba33..76ac2a6 100644 --- a/external-sys76.sh +++ b/external-sys76.sh @@ -49,6 +49,10 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb diff --git a/external-winehq.sh b/external-winehq.sh index 53c1045..6a9d896 100644 --- a/external-winehq.sh +++ b/external-winehq.sh @@ -103,6 +103,10 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb diff --git a/external-xtradeb.sh b/external-xtradeb.sh index f6a6830..27c1d17 100644 --- a/external-xtradeb.sh +++ b/external-xtradeb.sh @@ -50,8 +50,12 @@ else sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file diff --git a/rocm.sh b/rocm.sh index ad9842b..7c857f8 100644 --- a/rocm.sh +++ b/rocm.sh @@ -51,6 +51,10 @@ else sed -i "s#Components:#Components: rocm#" ./output/repo/conf/distributions fi +apt remove reprepro -y +wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb +apt install -y ./reprepro_5.3.0-1.4_amd64.deb + # Add the new package to the repo reprepro -C rocm -V --basedir ./output/repo/ includedeb lunar ./output/*.deb