1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-14 15:52:27 +00:00

chmod in files and detail commands

This commit is contained in:
deadc0de6
2020-11-16 13:27:03 +01:00
parent 05ffe43e5c
commit 5edcfe1897
4 changed files with 23 additions and 22 deletions

View File

@@ -89,7 +89,7 @@ _EOF
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 -V --link=link_children ${dt}
# check is set to link_children
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V -G | grep "d_`basename ${dt}`" | grep ',link:link_children$'
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V -G | grep "d_`basename ${dt}`" | grep ',link:link_children,'
# checks file exists in dotpath
[ ! -e ${dotpath}/${dt} ] && echo "dotfile not imported" && exit 1