File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ function depends_pcsx2() {
35
35
fi
36
36
37
37
if [[ " $md_mode " == " install" ]]; then
38
- add-apt-repository -y ppa:pcsx2-team/pcsx2-daily
38
+ # On Ubuntu, add the PCSX2 PPA to get the latest version
39
+ [[ -n " ${__os_ubuntu_ver} " ]] && add-apt-repository -y ppa:pcsx2-team/pcsx2-daily
39
40
dpkg --add-architecture i386
40
41
else
41
42
rm -f /etc/apt/sources.list.d/pcsx2-team-ubuntu-pcsx2-daily-* .list
@@ -44,11 +45,17 @@ function depends_pcsx2() {
44
45
}
45
46
46
47
function install_bin_pcsx2() {
47
- aptInstall pcsx2-unstable
48
+ local version
49
+ [[ -n " ${__os_ubuntu_ver} " ]] && version=" -unstable"
50
+
51
+ aptInstall " pcsx2$version "
48
52
}
49
53
50
54
function remove_pcsx2() {
51
- aptRemove pcsx2-unstable
55
+ local version
56
+ [[ -n " ${__os_ubuntu_ver} " ]] && version=" -unstable"
57
+
58
+ aptRemove " pcsx2$version "
52
59
rp_callModule pcsx2 depends remove
53
60
}
54
61
You can’t perform that action at this time.
0 commit comments