Skip to content
Permalink
Browse files

Merge pull request #2899 from cmitu/pcsx2-ppa

pcsx2: enable installation on Debian
  • Loading branch information
joolswills committed Nov 12, 2019
2 parents 8c3441b + ec4ec70 commit 6aa73f5791c7f58aaadf78641c1134e740693a80
Showing with 10 additions and 3 deletions.
  1. +10 −3 scriptmodules/emulators/pcsx2.sh
@@ -35,7 +35,8 @@ function depends_pcsx2() {
fi

if [[ "$md_mode" == "install" ]]; then
add-apt-repository -y ppa:pcsx2-team/pcsx2-daily
# On Ubuntu, add the PCSX2 PPA to get the latest version
[[ -n "${__os_ubuntu_ver}" ]] && add-apt-repository -y ppa:pcsx2-team/pcsx2-daily
dpkg --add-architecture i386
else
rm -f /etc/apt/sources.list.d/pcsx2-team-ubuntu-pcsx2-daily-*.list
@@ -44,11 +45,17 @@ function depends_pcsx2() {
}

function install_bin_pcsx2() {
aptInstall pcsx2-unstable
local version
[[ -n "${__os_ubuntu_ver}" ]] && version="-unstable"

aptInstall "pcsx2$version"
}

function remove_pcsx2() {
aptRemove pcsx2-unstable
local version
[[ -n "${__os_ubuntu_ver}" ]] && version="-unstable"

aptRemove "pcsx2$version"
rp_callModule pcsx2 depends remove
}

0 comments on commit 6aa73f5

Please sign in to comment.
You can’t perform that action at this time.