Fix file conflicts with foot and waybar packages
This commit is contained in:
@@ -115,6 +115,8 @@ package() {
|
||||
while IFS= read -r -d '' file; do
|
||||
local _rel="${file#"$_xdg_src/"}"
|
||||
[[ "$_rel" == "walker/config.toml" ]] && continue
|
||||
[[ "$_rel" == "foot/foot.ini" ]] && continue
|
||||
[[ "$_rel" == "waybar/style.css" ]] && continue
|
||||
if [[ "$file" == *.sh ]]; then
|
||||
install -Dm755 "$file" "$pkgdir/etc/xdg/$_rel"
|
||||
else
|
||||
@@ -155,6 +157,12 @@ package() {
|
||||
install -Dm644 defaults/xdg/walker/config.toml \
|
||||
"$pkgdir/usr/share/moonarch/walker-config.toml"
|
||||
|
||||
# --- Configs owned by other packages (deployed by .install, not owned here) ---
|
||||
install -Dm644 defaults/xdg/foot/foot.ini \
|
||||
"$pkgdir/usr/share/moonarch/foot/foot.ini"
|
||||
install -Dm644 defaults/xdg/waybar/style.css \
|
||||
"$pkgdir/usr/share/moonarch/waybar/style.css"
|
||||
|
||||
# --- Reference configs for greetd/moongreet (deployed by .install, not owned) ---
|
||||
install -Dm644 defaults/etc/greetd/config.toml \
|
||||
"$pkgdir/usr/share/moonarch/greetd/config.toml"
|
||||
|
||||
Reference in New Issue
Block a user