예제 #1
0
 public static DebootstrapSettings SetKeepDebootstrapDir(this DebootstrapSettings settings, bool keep = true)
 {
     settings.KeepDebootstrapDir = keep;
     return(settings);
 }
예제 #2
0
 public static DebootstrapSettings SetPrintDebs(this DebootstrapSettings settings, bool print = true)
 {
     settings.PrintDebs = print;
     return(settings);
 }
예제 #3
0
 public static DebootstrapSettings SetDownloadOnly(this DebootstrapSettings settings, bool download = true)
 {
     settings.DownloadOnly = download;
     return(settings);
 }
예제 #4
0
 public static DebootstrapSettings SetNoGpgCheck(this DebootstrapSettings settings, bool check = true)
 {
     settings.NoGpgCheck = check;
     return(settings);
 }
예제 #5
0
 public static DebootstrapSettings SetVerbose(this DebootstrapSettings settings, bool verbose = true)
 {
     settings.Verbose = verbose;
     return(settings);
 }
예제 #6
0
 public static DebootstrapSettings SetArchitecture(this DebootstrapSettings settings, string arch)
 {
     settings.Architecture = arch;
     return(settings);
 }
예제 #7
0
 public static DebootstrapSettings SetKeyRing(this DebootstrapSettings settings, string key)
 {
     settings.KeyRing = key;
     return(settings);
 }
예제 #8
0
 public static DebootstrapSettings SetVariant(this DebootstrapSettings settings, string variant)
 {
     settings.Variant = variant;
     return(settings);
 }
예제 #9
0
 public static DebootstrapSettings SetNoDependencyResolve(this DebootstrapSettings settings, bool deps = true)
 {
     settings.NoDependencyResolve = deps;
     return(settings);
 }
예제 #10
0
 public static DebootstrapSettings ExcludePackage(this DebootstrapSettings settings, string package)
 {
     settings.IncludePackages.Remove(package);
     settings.ExcludePackages.Add(package);
     return(settings);
 }