1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 11:59:16 +00:00

fix #378 and add unittest

This commit is contained in:
deadc0de6
2023-01-22 10:56:58 +01:00
parent 99962881b2
commit e900026cba
3 changed files with 174 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ cat ${cfg}
cnt=`cd ${ddpath} | ${bin} files -c ${cfg} -p p0 | grep '^f_' | wc -l`
[ "${cnt}" != "1" ] && echo "this is bad" && exit 1
# install
# import
cd ${ddpath} | ${bin} import -f -c ${cfg} -p p0 --verbose ${tmpd}/file
[ ! -e ${tmps}/dotfiles/${tmpd}/file ] && echo "file not imported" && exit 1