Skip to content

Commit

Permalink
Set up repos before trying to install additional packages
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Apr 6, 2024
1 parent 048fcc4 commit e54b763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palera1nLoader/Utilities/Post-Install.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Finalize {
func finalizeBootstrap(deb: String) throws {
var prefix = ""
if paleInfo.palerain_option_rootless { prefix = "/var/jb" }
self.setRepositories()

// install packages from json
if (spawn(command: "\(prefix)/usr/bin/apt-get", args: ["update", "--allow-insecure-repositories"]) != 1) {
Expand All @@ -39,7 +40,6 @@ class Finalize {
}
_ = spawn(command: "/cores/binpack/usr/bin/uicache", args: ["-a"])

self.setRepositories()
}

func setRepositories() {
Expand Down

0 comments on commit e54b763

Please sign in to comment.