mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 00:44:00 +00:00
update doc and tests for link
This commit is contained in:
@@ -142,7 +142,7 @@ mkdir -p ${tmps}/dotfiles
|
||||
|
||||
# import without --preserve-mode and link
|
||||
for i in ${toimport}; do
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -l link -f -p p1 -V ${i}
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -l absolute -f -p p1 -V ${i}
|
||||
done
|
||||
|
||||
cat ${cfg}
|
||||
@@ -155,7 +155,7 @@ cnt=`cat ${cfg} | grep "chmod: '777'" | wc -l`
|
||||
[ "${cnt}" != "${tot}" ] && echo "not all chmod inserted (2)" && exit 1
|
||||
|
||||
tot=`echo ${toimport} | wc -w`
|
||||
cnt=`cat ${cfg} | grep 'link: link' | wc -l`
|
||||
cnt=`cat ${cfg} | grep 'link: absolute' | wc -l`
|
||||
[ "${cnt}" != "${tot}" ] && echo "not all link inserted" && exit 1
|
||||
|
||||
## --preserve-mode
|
||||
|
||||
Reference in New Issue
Block a user