port to pika os 4
This commit is contained in:
parent
cce8430c0d
commit
602153b670
@ -1,2 +0,0 @@
|
||||
./etc
|
||||
./usr
|
@ -1,224 +0,0 @@
|
||||
pika-sources (7.2-101pika1) canary; urgency=low
|
||||
|
||||
* Fix pre depends
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (7.1-101pika1) canary; urgency=low
|
||||
|
||||
* Canary options
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (7.0-101pika1) canary; urgency=low
|
||||
|
||||
* PikaOS 4
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika7) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika6) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika5) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-100pika4) pikauwu; urgency=low
|
||||
|
||||
* Fix rocm mesa issues
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.8-99pika3) pikauwu; urgency=low
|
||||
|
||||
* Update to uwu
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.6-99pika1) pikauwu; urgency=low
|
||||
|
||||
* Update to uwu
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.5-99pika1-mantic) mantic; urgency=low
|
||||
|
||||
* Update to mantic
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.3-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* fix pins
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.2-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* no deb-src in our repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (6.1-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Switch to internal repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.11-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fully purge kisak
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.10-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fix broken repo - last one
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.9-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Fix broken repo
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.8-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Add new mesa
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.3-99pika2-lunar) lunar; urgency=low
|
||||
|
||||
* AMD bad at versioning stuff
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.3-99pika1-lunar) lunar; urgency=low
|
||||
|
||||
* Update AMD repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.1-99pika1) kinetic; urgency=low
|
||||
|
||||
* Update AMD repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (5.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Update to lunar
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika5) kinetic; urgency=low
|
||||
|
||||
* Link mirrors
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika4) kinetic; urgency=high
|
||||
|
||||
* Fix steam breaking apt updates
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika3) kinetic; urgency=low
|
||||
|
||||
* Link mirrors
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika2) kinetic; urgency=low
|
||||
|
||||
* Add kubuntu ppa priority override
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (4.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Move to new repos
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika18) kinetic; urgency=low
|
||||
|
||||
* Fix breakages
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika17) kinetic; urgency=low
|
||||
|
||||
* Add sources fix script
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika15) kinetic; urgency=low
|
||||
|
||||
* Move keys to /usr/share/keyrings
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika14) kinetic; urgency=low
|
||||
|
||||
* Revert last commit
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika13) kinetic; urgency=low
|
||||
|
||||
* Add update post scripts for ISO
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (3.0-99pika12) kinetic; urgency=low
|
||||
|
||||
* Fix PPA priorities typo and add KDE-Backports
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (3.0-99pika11) kinetic; urgency=low
|
||||
|
||||
* Switch Steam Repos fix to systemd service
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (3.0-99pika10) kinetic; urgency=low
|
||||
|
||||
* Steam Repos fix again
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-sources (1.0-99pika4) kinetic; urgency=low
|
||||
|
||||
* Steam Repos fix
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (1.0-99pika2) kinetic; urgency=low
|
||||
|
||||
* Change Steam GPG
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
pika-sources (1.0-99pika1) kinetic; urgency=low
|
||||
|
||||
* Initial Creation
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
@ -1,17 +0,0 @@
|
||||
Source: pika-sources
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.6.1
|
||||
Homepage: https://github.com/PikaOS-Linux/
|
||||
|
||||
Package: pika-sources
|
||||
Section: misc
|
||||
Architecture: all
|
||||
Pre-Depends: python-apt-common, distro-info-data, systemd, udev, bash
|
||||
Depends: ${misc:Depends}, python-apt-common, distro-info-data, systemd, udev, bash
|
||||
Description: APT Source files and keyrings for the PikaOS Repositories
|
||||
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
etc
|
||||
usr
|
@ -1,2 +0,0 @@
|
||||
/etc/init.d/calamares-sources-undo /etc/rc2.d/S01calamares-sources-undo
|
||||
/etc/init.d/calamares-sources-undo /etc/rc3.d/S01calamares-sources-undo
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf /etc/apt/sources.list.d/pika-* || true
|
||||
rm -rf /etc/apt/preferences.d/*pika* || true
|
||||
|
||||
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/xtradeb-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
|
||||
rm -f /etc/apt/sources.list.d/kisak-mesa.sources || true
|
||||
|
||||
cp -rf /usr/share/apt-pika/apt /etc/ || true
|
||||
|
||||
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!"
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
systemctl disable --now steam-repos-fix.service || echo "steam-repos-fix service could not be disabled"
|
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
|
||||
|
||||
%:
|
||||
dh $@
|
@ -1 +0,0 @@
|
||||
3.0 (quilt)
|
@ -1,7 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Undo the calamares sources modifactions
|
||||
|
||||
printf "## This file is deprecated in PikaOS.\n## See /etc/apt/sources.list.d/system.sources." | tee /etc/apt/sources.list > /dev/null
|
||||
|
||||
rm -rfv /etc/apt/sources.list.d/pika.list > /dev/null
|
@ -1,8 +0,0 @@
|
||||
[Unit]
|
||||
Description=Removes broken steam.list from apt.
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c "cp -rfv /usr/share/dpkg/scripts/steamdeps /usr/bin/ && rm -rf /etc/apt/sources.list.d/steam-stable.list || echo 'no stable steam repos' " && "rm -rf /etc/apt/sources.list.d/steam.list || echo 'no old steam repos' " && "rm -rf /etc/apt/sources.list.d/steam-beta.list || echo 'no steam beta repos' " && /usr/bin/bash -c "rm -rf /etc/apt/sources.list.d/pika.list || echo 'no pika iso repos' "
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,2 +0,0 @@
|
||||
DPkg::Pre-Install-Pkgs {"/usr/share/dpkg/scripts/steam-launcher.sh pre";};
|
||||
DPkg::Post-Invoke {"/usr/share/dpkg/scripts/steam-launcher.sh post";};
|
@ -1,30 +0,0 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBGPJoigBCADZ8tDzkO2LlWIzXZLLyRLIaRnaNHG6P9xx0ABSFsqU+X+p9qDS
|
||||
eQW6SmeCN+PauqAHlzrJ7p3XZi07E+h69PEk5R5n7qhVECW35Y1sB9EfC2nqVRxd
|
||||
RcWtwQsipEHQmjvWIsD4hR5uhq62p7grSkQxv13SGLqyJkKIpkic2vZEgqubfZd4
|
||||
KLPFvaQZar6QWa3urfYnUZzc1TNkEYxghr/dQuCFSfYPM+yHT70MXrlPOgfslGgL
|
||||
YtoN1YauF04wzAg1RFfrWX2AdHE792fVHrkHRsvQg1Pvw4KjPnM6jX2V8W8n7C++
|
||||
yxpiMUU2h9FqBWfHrqNLWtKdn6+lgHUq2Oj3ABEBAAG0IWZlcnJlbyA8aGFyZGVy
|
||||
dGhhbmZpcmVAZ21haWwuY29tPokBTgQTAQoAOBYhBIvETfAmQkhf8fPMBKt4xg37
|
||||
WBYDBQJjyaIoAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEKt4xg37WBYD
|
||||
4/oH/2LRW4FwLHCsWeJfRx5Z7BwKrGqWIF2VujkvEjlFOGYO7aN5HxeX/QKeN+Wy
|
||||
901hv4CO7T7aSye0qjaYz0I6ZUmr9CaINdXTH7fok3CXQYBfluaLiyxMPSm+Fe5o
|
||||
vfiUiSMZ488uaUkFSww/TEP8wi5H02yqGJcx3yB54OTsVb8eUHLPXno0T4tooWvX
|
||||
EOMUKkpj3tEylJoqL5d2iz2ZrkMdX9tVXOkKY3iJD2El0TPITrTIuRuurqzc4CWU
|
||||
laV7bmZ1Mq5r21S7ISOhhzvEMwsiWylIFXmXNPvbU7DC43uT3+nKhBca8VESzvmu
|
||||
r7zC6CcQAR5IVHMjd8weFfrnGXm5AQ0EY8miKAEIALnnC+U4gx0m0yLEVOHBoccb
|
||||
T7CvhmBYer2shxe5o7zUZ5V4y1iJdzSSJksbQkZH4+JDwi7Hp3/lqI2EsxQ9TR+A
|
||||
OdRvETfz88aK/e2vJ0j7Bt3Dr0u0mgoo9kSx6rLq1oH9Nha9ReOljmEfDtuINR86
|
||||
QGEd8PyvNDcUap+6QQa6/RBEDiH1zYBYtxv4rbuciKsh+e6r6C8TJb43nKr3YBGu
|
||||
/GE1aDlGaKvFgUOZmaapgoQVdpXcg7ZtTpI8sNKdnLVEChIKk35n52XfQDZPVvAt
|
||||
bsUIr77B4hi+GsjGli7ihr+JJEiHwOyCMZvV95ZWq2ThrXxRWA8mHqCLhz7oTV8A
|
||||
EQEAAYkBNgQYAQoAIBYhBIvETfAmQkhf8fPMBKt4xg37WBYDBQJjyaIoAhsMAAoJ
|
||||
EKt4xg37WBYDdwAIAI3yJwOa6P6wz3ddLt/4FTlCSnlJ8C904RDwtJEO/C/y9qZv
|
||||
yE0qitUi7mntzYE6G7SES3Zn6b9HhdTS9kQv6VUg75TjD/WGPVju5cB11mte95Z9
|
||||
6iW5u65kxpawxiTUhaO+O4RO6fZ29rZyCQDfa7ESudkVE/yktAA5umnAbGpgxGa6
|
||||
8egCGiZ0LKUqcHxMAsoUUhlOTk3LR4yS6nKE1Q8Dr6E7NYlrWcoGDSQzKvXLqf8e
|
||||
9eJLGckePwHDzhgO9LKGW3meTV6ldLehTsxm/ycHqXL7/wYjYy6ZXj/5Px3CGLPg
|
||||
DH9mVj8ERsz096eQA+53gmcTsNtq/FLWS2MhtCc=
|
||||
=+26V
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -1,26 +0,0 @@
|
||||
# Lower nest's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=nest
|
||||
Pin-Priority: 450
|
||||
|
||||
# Lower raven's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=raven
|
||||
Pin-Priority: 450
|
||||
|
||||
# Lower pigeon's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=pigeon
|
||||
Pin-Priority: 450
|
||||
|
||||
|
||||
# Lower parrot's priority under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=parrot
|
||||
Pin-Priority: 450
|
||||
|
||||
# Put canary's priority over nest and under cockatiel's
|
||||
Package: *
|
||||
Pin: release a=pika,c=canary
|
||||
Pin-Priority: 451
|
||||
|
@ -1,14 +0,0 @@
|
||||
# Blacklist ROCm from nest
|
||||
Package: libhsa-runtime64* hipcc* rocm*
|
||||
Pin: release a=pika,c=nest
|
||||
Pin-Priority: 100
|
||||
|
||||
# Blacklist intel mesa from raven
|
||||
Package: libglvnd0 libegl1 libegl-dev libglx0 libglx-dev libgl1 libgl-dev libglvnd-core-dev libgles1 libgles2 libgles-dev libglvnd-dev libopengl0 libopengl-dev libxatracker2 libgbm1 libgbm-dev *mesa*
|
||||
Pin: release a=pika,c=raven
|
||||
Pin-Priority: -10
|
||||
|
||||
# Blacklist dangerous amdgpu-pro packages
|
||||
Package: amdgpu-core amdgpu-pro-core amdgpu-dkms amdgpu-pro-lib32
|
||||
Pin: release a=*
|
||||
Pin-Priority: -10
|
@ -1,2 +0,0 @@
|
||||
## This file is deprecated in PikaOS.
|
||||
## See `man deb822` and /etc/apt/sources.list.d/system.sources.
|
@ -1,9 +0,0 @@
|
||||
X-Repolib-Name: PikaOS System Sources
|
||||
Enabled: yes
|
||||
Types: deb
|
||||
URIs: https://ppa.pika-os.com/
|
||||
Suites: pika
|
||||
Components: nest raven parrot cockatiel pigeon
|
||||
X-Repolib-ID: system
|
||||
X-Repolib-Default-Mirror: https://ppa.pika-os.com/
|
||||
Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key
|
@ -1,26 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ $1 == pre ]]
|
||||
then
|
||||
if grep -q steam-launcher
|
||||
then
|
||||
mkdir -p /var/lib/apt/hooks
|
||||
touch /var/lib/apt/hooks/steam-launcher
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $1 == post ]]
|
||||
then
|
||||
if [[ -f /var/lib/apt/hooks/steam-launcher ]]
|
||||
then
|
||||
rm -rf /etc/apt/sources.list.d/steam-stable.list || echo 'no stable steam repos'
|
||||
rm -rf /etc/apt/sources.list.d/steam.list || echo 'no steam repos'
|
||||
rm -rf /var/lib/apt/hooks/steam-launcher
|
||||
cp -rfv /usr/share/dpkg/scripts/steamdeps /usr/bin/
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
This script handles installing system dependencies for games using the
|
||||
Steam runtime. It is intended to be customized by other distributions
|
||||
to "do the right thing"
|
||||
|
||||
Usage: steamdeps dependencies.txt
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
check_output = subprocess.run(["dpkg -s libc6:amd64 && dpkg -s libc6:i386"], shell=True)
|
||||
if (check_output.returncode) != 0:
|
||||
subprocess.run(["/usr/bin/x-terminal-emulator -e bash -c 'sudo apt install -y libc6:amd64 libc6:i386'"], shell=True)
|
||||
exit(0)
|
||||
else:
|
||||
exit(0)
|
Loading…
Reference in New Issue
Block a user