mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 17:24:46 +00:00
refactor command "listfiles" to "files"
This commit is contained in:
@@ -78,8 +78,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -113,8 +113,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -148,8 +148,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V --link=nolink
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -183,8 +183,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V --link=link
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: link'
|
||||
|
||||
# try to install
|
||||
@@ -218,8 +218,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: link'
|
||||
|
||||
# try to install
|
||||
@@ -253,8 +253,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V --link=nolink
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -288,8 +288,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V --link=nolink
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -323,8 +323,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V --link=nolink
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: nolink'
|
||||
|
||||
# try to install
|
||||
@@ -356,8 +356,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} --link=link -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "f_`basename ${df}`")
|
||||
echo ${line} | grep 'link: link'
|
||||
|
||||
# try to install
|
||||
@@ -418,8 +418,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} --link=link_children -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "d_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "d_`basename ${df}`")
|
||||
echo ${line} | grep 'link: link_children'
|
||||
|
||||
# try to install
|
||||
@@ -459,8 +459,8 @@ df="${tmpd}/qwert"
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 ${df} -V
|
||||
|
||||
# checks
|
||||
cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "d_`basename ${df}`")
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "d_`basename ${df}`")
|
||||
echo ${line} | grep 'link: link_children'
|
||||
|
||||
# try to install
|
||||
|
||||
Reference in New Issue
Block a user