Build in parallel and tolerate broken install symlinks

This commit is contained in:
SirBlob committed 2026-11-01 19:40:39 -05:00
1 parent 8ef25d0d31
commit aaa2f208d6
5 files changed
+16 -2

No files matched your search

+6 -1
View File
@@ -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)"
+1 -1
View File
@@ -9,7 +9,7 @@ link_wallpapers() {
local source="$repo_dir/wallpapers"
local current=""
[[ -L $wallpaper_dir ]] && current="$(readlink -f "$wallpaper_dir")"
[[ -L $wallpaper_dir ]] && current="$(readlink -f "$wallpaper_dir" || true)"
if [[ $current == "$source" ]]; then
say "ok wallpapers"