Build in parallel and tolerate broken install symlinks
This commit is contained in:
1 parent
8ef25d0d31
commit
aaa2f208d6
5 files changed
+16
-2
No files matched your search
@@ -7,7 +7,7 @@
|
||||
# having run first.
|
||||
link_blob_path() {
|
||||
local current=""
|
||||
[[ -L $blob_path ]] && current="$(readlink -f "$blob_path")"
|
||||
[[ -L $blob_path ]] && current="$(readlink -f "$blob_path" || true)"
|
||||
|
||||
if [[ $current == "$repo_dir" ]]; then
|
||||
say "ok BLOB_PATH -> $repo_dir"
|
||||
@@ -125,6 +125,11 @@ install_shell_profile() {
|
||||
install_root_file "$repo_dir/session/profile.sh" /etc/profile.d/blob.sh "profile.d/blob.sh"
|
||||
}
|
||||
|
||||
install_makepkg_config() {
|
||||
install_root_file "$repo_dir/default/makepkg/blob-parallel.conf" \
|
||||
/etc/makepkg.conf.d/blob-parallel.conf "makepkg.conf.d/blob-parallel.conf"
|
||||
}
|
||||
|
||||
install_zen_config() {
|
||||
local profile
|
||||
profile="$(find "$config_dir/zen" -maxdepth 1 -type d -name '*.Default (release)*' 2>/dev/null | head -1)"
|
||||
|
||||
Reference in new issue
Block a user