MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / InstallPPA

Function InstallPPA

Scripts/InstallFEX.py:157–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 return _PPAInstalled
156
157def InstallPPA():
158 print ("Installing PPA: ppa:fex-emu/fex")
159 print ("This bit will ask for your password")
160
161 DidInstall = False
162 try:
163 CmdResult = subprocess.call(["sudo", "add-apt-repository", "-y", "ppa:fex-emu/fex"])
164 DidInstall = CmdResult == 0
165 except KeyboardInterrupt:
166 DidInstall = False
167 pass
168
169 if DidInstall:
170 print("PPA installed")
171 else:
172 print("PPA failed to install")
173
174 return DidInstall
175
176ARMVersionToPackage = {
177 "8.0": "fex-emu-armv8.0",

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected