Api/apt.addsource()

From Minux Wiki
Revision as of 08:29, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is used to add a repository source to apt '''usage:''' apt.addsource(url) '''output:''' if a url is provided it will try that url for a valid apt file and if it finds one registers this url as a source. if one of the following strings is provided in stead, it will clear all sources and default to these: "default" or "stable" = stable primary "beta" - beta primary "goldcube" - stable primary + goldcube stable")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this api is used to add a repository source to apt


usage:

apt.addsource(url)


output:

if a url is provided it will try that url for a valid apt file and if it finds one registers this url as a source.

if one of the following strings is provided in stead, it will clear all sources and default to these:

"default" or "stable" = stable primary

"beta" - beta primary

"goldcube" - stable primary + goldcube stable