Compare commits
3 Commits
40e5699fbc
...
9b61028bf4
Author | SHA1 | Date |
---|---|---|
|
9b61028bf4 | |
|
d909c2f3ab | |
|
0314aa54cd |
|
@ -13,12 +13,10 @@ install_files() {
|
||||||
echo "Source directory ${source_dir} does not exist, skipping."
|
echo "Source directory ${source_dir} does not exist, skipping."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
(
|
|
||||||
cd "${source_dir}"
|
|
||||||
for f in "${source_dir}"/*; do
|
for f in "${source_dir}"/*; do
|
||||||
case "$(basename "$f")" in
|
case "$(basename "$f")" in
|
||||||
dotfiles)
|
dotfiles)
|
||||||
install_files "${target_dir}" "$f" .
|
(install_files "${target_dir}" "$f" .)
|
||||||
;;
|
;;
|
||||||
*.jq)
|
*.jq)
|
||||||
tmpfile="$(mktemp)"
|
tmpfile="$(mktemp)"
|
||||||
|
@ -38,14 +36,13 @@ install_files() {
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [ -d "$f" ]; then
|
if [ -d "$f" ]; then
|
||||||
install_files "${target_dir}/${target_filename_prefix}$(basename "$f")" "$f"
|
(install_files "${target_dir}/${target_filename_prefix}$(basename "$f")" "$f")
|
||||||
else
|
else
|
||||||
cp -v "$f" "${target_dir}/${target_filename_prefix}$(basename "$f")"
|
cp -v "$f" "${target_dir}/${target_filename_prefix}$(basename "$f")"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
|
@ -77,7 +77,6 @@ if has_tags pm:pacman; then
|
||||||
powerline-fonts \
|
powerline-fonts \
|
||||||
rxvt-unicode-better-wheel-scrolling-unicode3 \
|
rxvt-unicode-better-wheel-scrolling-unicode3 \
|
||||||
ttf-fantasque-sans-mono \
|
ttf-fantasque-sans-mono \
|
||||||
rxvt-unicode \
|
|
||||||
urxvt-tabbedex \
|
urxvt-tabbedex \
|
||||||
ibus
|
ibus
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue